Package org.onebusaway.gtfs.model
Class AgencyAndIdInstance
- java.lang.Object
-
- org.onebusaway.gtfs.model.AgencyAndIdInstance
-
- All Implemented Interfaces:
Serializable,Comparable<AgencyAndIdInstance>
public class AgencyAndIdInstance extends Object implements Serializable, Comparable<AgencyAndIdInstance>
An identifier class that combines aAgencyAndIdid with a service date. SeeServiceDatefor more details of the service date idea.- Author:
- bdferris
- See Also:
AgencyAndId,ServiceDate, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AgencyAndIdInstance(AgencyAndId id, long serviceDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AgencyAndIdInstance o)booleanequals(Object obj)AgencyAndIdgetId()longgetServiceDate()inthashCode()
-
-
-
Constructor Detail
-
AgencyAndIdInstance
public AgencyAndIdInstance(AgencyAndId id, long serviceDate)
-
-
Method Detail
-
getId
public AgencyAndId getId()
-
getServiceDate
public long getServiceDate()
-
compareTo
public int compareTo(AgencyAndIdInstance o)
- Specified by:
compareToin interfaceComparable<AgencyAndIdInstance>
-
-