bamboo.sim
Class GraphUtils.Node

java.lang.Object
  extended by bamboo.sim.GraphUtils.Node
Direct Known Subclasses:
TransitStub.Node
Enclosing class:
GraphUtils

public static class GraphUtils.Node
extends Object


Field Summary
 GraphUtils.Edge edges
           
 int number
           
 
Constructor Summary
GraphUtils.Node(int n)
           
 
Method Summary
 void add_edge(GraphUtils.Edge e)
           
 boolean equals(Object other)
           
 GraphUtils.Edge get_edge_to(GraphUtils.Node tail)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

number

public int number

edges

public GraphUtils.Edge edges
Constructor Detail

GraphUtils.Node

public GraphUtils.Node(int n)
Method Detail

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