|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object transport.TripSection
public class TripSection
Elementary portion of a trip, from a given origin to a given destination, using a given line.
Method Summary | |
---|---|
Station |
getDestination()
Returns the destination of the trip section |
Line |
getLine()
Returns the line along which this section is located. |
Station |
getOrigin()
Returns the origin of the trip section. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Station getOrigin()
public Station getDestination()
public Line getLine()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |