public class ServiceIdIntervals extends Object implements Serializable, Iterable<Map.Entry<LocalizedServiceId,ServiceInterval>>
Map of LocalizedServiceId and ServiceInterval
objects, with convenience methods for adding additional service ids and
arrival-departure time intervals.| Constructor and Description |
|---|
ServiceIdIntervals() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIntervals(ServiceIdIntervals intervals) |
void |
addStopTime(LocalizedServiceId serviceId,
int arrivalTime,
int departureTime) |
ServiceInterval |
getIntervalForServiceId(LocalizedServiceId serviceId) |
Set<LocalizedServiceId> |
getServiceIds() |
Iterator<Map.Entry<LocalizedServiceId,ServiceInterval>> |
iterator() |
public void addStopTime(LocalizedServiceId serviceId, int arrivalTime, int departureTime)
public void addIntervals(ServiceIdIntervals intervals)
public Set<LocalizedServiceId> getServiceIds()
public ServiceInterval getIntervalForServiceId(LocalizedServiceId serviceId)
public Iterator<Map.Entry<LocalizedServiceId,ServiceInterval>> iterator()
iterator in interface Iterable<Map.Entry<LocalizedServiceId,ServiceInterval>>Copyright © 2015 OneBusAway. All Rights Reserved.