Module OneMTA
Package dev.katsute.onemta.types
Class TransitTripStop<SID,S extends TransitStop<?,?,?>,T extends TransitTrip<?,?,?,?>>
java.lang.Object
dev.katsute.onemta.types.TransitTripStop<SID,S,T>
- Type Parameters:
SID
- stop ID formatS
- transit stop typeT
- transit trip type
- All Implemented Interfaces:
Reference.Stop<S>
,Reference.Trip<T>
- Direct Known Subclasses:
Bus.TripStop
,LIRR.TripStop
,MNR.TripStop
,Subway.TripStop
public abstract class TransitTripStop<SID,S extends TransitStop<?,?,?>,T extends TransitTrip<?,?,?,?>>
extends Object
implements Reference.Stop<S>, Reference.Trip<T>
Represents a transit trip stop.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Katsute
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.katsute.onemta.attribute.Reference.Stop
getStop
Methods inherited from interface dev.katsute.onemta.attribute.Reference.Trip
getTrip
-
Constructor Details
-
TransitTripStop
public TransitTripStop()
-
-
Method Details
-
getArrivalTime
Returns the arrival time.- Returns:
- arrival time
- Since:
- 1.0.0
- See Also:
-
getArrivalTimeEpochMillis
Returns the arrival time as milliseconds since epoch.- Returns:
- arrival time
- Since:
- 1.0.0
- See Also:
-
getDepartureTime
Returns the departure time.- Returns:
- departure time
- Since:
- 1.0.0
- See Also:
-
getDepartureTimeEpochMillis
Returns the departure time as milliseconds since epoch.- Returns:
- departure time
- Since:
- 1.0.0
- See Also:
-
getStopID
Returns the stop ID.- Returns:
- stop ID
- Since:
- 1.0.0
-