bamboo.sim
Class GraphUtils.Node
java.lang.Object
bamboo.sim.GraphUtils.Node
- Direct Known Subclasses:
- TransitStub.Node
- Enclosing class:
- GraphUtils
public static class GraphUtils.Node
- extends Object
number
public int number
edges
public GraphUtils.Edge edges
GraphUtils.Node
public GraphUtils.Node(int n)
add_edge
public final void add_edge(GraphUtils.Edge e)
get_edge_to
public final GraphUtils.Edge get_edge_to(GraphUtils.Node tail)
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object