- All Known Implementing Classes:
Bus.Route
,Bus.Stop
,Bus.Vehicle
,LIRR.Route
,LIRR.Stop
,LIRR.Vehicle
,MNR.Route
,MNR.Stop
,MNR.Vehicle
,Subway.Route
,Subway.Stop
,Subway.Vehicle
,TransitRoute
,TransitStop
,TransitVehicle
public interface Updatable
Indicates that the object can refresh its' realtime data.
- Since:
- 1.1.0
- Version:
- 1.1.0
- Author:
- Katsute
-
Method Summary
Modifier and TypeMethodDescriptionvoid
refresh()
Refreshes realtime data such as location, vehicles, trips, and alerts.
-
Method Details
-
refresh
void refresh()Refreshes realtime data such as location, vehicles, trips, and alerts.- Throws:
NullPointerException
- if vehicle no longer exists- Since:
- 1.1.0
-