Module OneMTA

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 format
S - transit stop type
T - 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 Details

    • TransitTripStop

      public TransitTripStop()
  • Method Details

    • getArrivalTime

      public abstract Date getArrivalTime()
      Returns the arrival time.
      Returns:
      arrival time
      Since:
      1.0.0
      See Also:
    • getArrivalTimeEpochMillis

      public abstract Long getArrivalTimeEpochMillis()
      Returns the arrival time as milliseconds since epoch.
      Returns:
      arrival time
      Since:
      1.0.0
      See Also:
    • getDepartureTime

      public abstract Date getDepartureTime()
      Returns the departure time.
      Returns:
      departure time
      Since:
      1.0.0
      See Also:
    • getDepartureTimeEpochMillis

      public abstract Long getDepartureTimeEpochMillis()
      Returns the departure time as milliseconds since epoch.
      Returns:
      departure time
      Since:
      1.0.0
      See Also:
    • getStopID

      public abstract SID getStopID()
      Returns the stop ID.
      Returns:
      stop ID
      Since:
      1.0.0