Module OneMTA
Package dev.katsute.onemta.attribute
Interface Reference.Stop<S extends TransitStop<?,?,?>>
- Type Parameters:
S
- transit stop type
- All Known Implementing Classes:
Bus.TripStop
,Bus.Vehicle
,LIRR.TripStop
,LIRR.Vehicle
,MNR.TripStop
,MNR.Vehicle
,Subway.TripStop
,Subway.Vehicle
,TransitTripStop
,TransitVehicle
- Enclosing class:
Reference
public static interface Reference.Stop<S extends TransitStop<?,?,?>>
Indicates that there is a stop reference.
- Since:
- 2.0.0
- Version:
- 2.0.0
- Author:
- Katsute
-
Method Summary
-
Method Details
-
getStop
S getStop()For all vehicles it will return the current or next stop on the route.
For trip stops it will return the trip stop.- Returns:
- stop
- Since:
- 1.0.0
-