org.onebusaway.transit_data_federation.services.blocks
Class InstanceState
java.lang.Object
org.onebusaway.transit_data_federation.services.blocks.InstanceState
public class InstanceState
- extends Object
Captures 'instance' information about a particular block, trip, or stop time.
By default, this includes the service date that a particular block, trip, or
stop time is operating on. It can also include FrequencyEntry
information about which headway-based interval a block, trip, or stop-time is
operating in.
- Author:
- bdferris
InstanceState
public InstanceState(long serviceDate)
InstanceState
public InstanceState(long serviceDate,
FrequencyEntry frequency)
getServiceDate
public long getServiceDate()
getFrequency
public FrequencyEntry getFrequency()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 OneBusAway. All Rights Reserved.