org.onebusaway.transit_data_federation.services.blocks
Class AbstractBlockStopTimeIndex
java.lang.Object
org.onebusaway.transit_data_federation.services.blocks.AbstractBlockStopTimeIndex
- Direct Known Subclasses:
- BlockStopTimeIndex, FrequencyBlockStopTimeIndex
public abstract class AbstractBlockStopTimeIndex
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_blockConfigs
protected final List<BlockConfigurationEntry> _blockConfigs
_stopIndices
protected final int[] _stopIndices
AbstractBlockStopTimeIndex
public AbstractBlockStopTimeIndex(List<BlockConfigurationEntry> blockConfigs,
int[] stopIndices,
org.onebusaway.gtfs.model.calendar.ServiceInterval serviceInterval)
getBlockConfigs
public List<BlockConfigurationEntry> getBlockConfigs()
getServiceInterval
public org.onebusaway.gtfs.model.calendar.ServiceInterval getServiceInterval()
getStop
public StopEntry getStop()
getServiceIds
public ServiceIdActivation getServiceIds()
size
public int size()
getStopTimes
public List<BlockStopTimeEntry> getStopTimes()
getTrips
public List<BlockTripEntry> getTrips()
getStopTimeForIndex
protected BlockStopTimeEntry getStopTimeForIndex(int index)
computeServiceInterval
protected static org.onebusaway.gtfs.model.calendar.ServiceInterval computeServiceInterval(HasBlockTrips blockIndex,
int blockSequence)
- Private Methods
Copyright © 2012 OneBusAway. All Rights Reserved.