Package org.gocha.collection.graph.Path

Examples of org.gocha.collection.graph.Path.Direction


    }

    @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());
    }
View Full Code Here


     * @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());
    }
View Full Code Here

TOP

Related Classes of org.gocha.collection.graph.Path.Direction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.