Class ServiceIdIntervals
java.lang.Object
org.onebusaway.gtfs.model.calendar.ServiceIdIntervals
- All Implemented Interfaces:
Serializable,Iterable<Map.Entry<LocalizedServiceId,ServiceInterval>>
public class ServiceIdIntervals
extends Object
implements Serializable, Iterable<Map.Entry<LocalizedServiceId,ServiceInterval>>
A
Map of LocalizedServiceId and ServiceInterval
objects, with convenience methods for adding additional service ids and
arrival-departure time intervals.- Author:
- bdferris
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIntervals(ServiceIdIntervals intervals) voidaddStopTime(LocalizedServiceId serviceId, int arrivalTime, int departureTime) getIntervalForServiceId(LocalizedServiceId serviceId) iterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ServiceIdIntervals
public ServiceIdIntervals()
-
-
Method Details
-
addStopTime
-
addIntervals
-
getServiceIds
-
getIntervalForServiceId
-
iterator
- Specified by:
iteratorin interfaceIterable<Map.Entry<LocalizedServiceId,ServiceInterval>>
-