373839404142434445
} @Override public N getLastNode() { Edge<N,E> e = getLastEdge(); Direction d = getDirection(); if( e==null )return null; return d==null ? e.getNodeB() : (d.equals(Direction.AB) ? e.getNodeB() : e.getNodeA()); }
444546474849505152
* @see Path */ @Override public N getLastNode() { Edge<N,E> e = getLastEdge(); Direction d = getDirection(); if( e==null )return null; return d==null ? e.getNodeB() : (d.equals(Direction.AB) ? e.getNodeB() : e.getNodeA()); }