Class Trip
java.lang.Object
rgu.transport.geospatial.multimodal.Trip
Represents a trip, specified by departure time, arrival time, and destination,
omitting departure location.
- Author:
- Lee A. Christie
-
Constructor Summary
ConstructorsConstructorDescriptionTrip(LocalTime departureTime, LocalTime arrivalTime, GeoLocation destination) Creates a trip. -
Method Summary
-
Constructor Details
-
Trip
Creates a trip.- Parameters:
departureTime- the departure time, not nullarrivalTime- the arrival time, not nulldestination- the destination, not null
-
-
Method Details
-
hashCode
-
equals
-
departureTime
-
arrivalTime
-
destination
-
toString
-