org.onebusaway.transit_data_federation.model.tripplanner
Class VehicleState

java.lang.Object
  extended by org.onebusaway.transit_data_federation.model.tripplanner.TripState
      extended by org.onebusaway.transit_data_federation.model.tripplanner.AtStopState
          extended by org.onebusaway.transit_data_federation.model.tripplanner.VehicleState
All Implemented Interfaces:
Comparable<TripState>
Direct Known Subclasses:
VehicleArrivalState, VehicleContinuationState, VehicleDepartureState

public abstract class VehicleState
extends AtStopState


Constructor Summary
VehicleState(StopTimeInstance sti, boolean arrival)
           
 
Method Summary
 boolean equals(Object obj)
           
 StopTimeInstance getStopTimeInstance()
           
 int hashCode()
           
 
Methods inherited from class org.onebusaway.transit_data_federation.model.tripplanner.AtStopState
getStop, toString
 
Methods inherited from class org.onebusaway.transit_data_federation.model.tripplanner.TripState
compareTo, getCurrentTime, getCurrentTimeString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VehicleState

public VehicleState(StopTimeInstance sti,
                    boolean arrival)
Method Detail

getStopTimeInstance

public StopTimeInstance getStopTimeInstance()

equals

public boolean equals(Object obj)
Overrides:
equals in class AtStopState

hashCode

public int hashCode()
Overrides:
hashCode in class AtStopState


Copyright © 2012 OneBusAway. All Rights Reserved.