org.onebusaway.transit_data_federation.model.tripplanner
Class TripState

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

public abstract class TripState
extends Object
implements Comparable<TripState>


Constructor Summary
TripState(long currentTime)
           
 
Method Summary
 int compareTo(TripState o)
           
 boolean equals(Object obj)
           
 long getCurrentTime()
           
protected  String getCurrentTimeString()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripState

public TripState(long currentTime)
Method Detail

getCurrentTime

public long getCurrentTime()

compareTo

public int compareTo(TripState o)
Specified by:
compareTo in interface Comparable<TripState>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getCurrentTimeString

protected String getCurrentTimeString()


Copyright © 2011 OneBusAway. All Rights Reserved.