All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----busrider.MutableSegment
A segment connects two junctions, has a length, is part of a route, and (eventually) has a unique index.
StringTokenizer.
public MutableSegment(MutableJunction from,
MutableJunction to,
int length,
MutableRoute route)
public static MutableSegment parse(StringTokenizer stok,
ItemCollection junctions)
StringTokenizer.
The tokens must be: length(int), from-junc-name, to-junc-name.
All Packages Class Hierarchy This Package Previous Next Index