org.onebusaway.transit_data_federation.services.blocks
Class AbstractBlockStopTimeIndex

java.lang.Object
  extended by org.onebusaway.transit_data_federation.services.blocks.AbstractBlockStopTimeIndex
Direct Known Subclasses:
BlockStopTimeIndex, FrequencyBlockStopTimeIndex

public abstract class AbstractBlockStopTimeIndex
extends Object


Field Summary
protected  List<BlockConfigurationEntry> _blockConfigs
           
protected  int[] _stopIndices
           
 
Constructor Summary
AbstractBlockStopTimeIndex(List<BlockConfigurationEntry> blockConfigs, int[] stopIndices, org.onebusaway.gtfs.model.calendar.ServiceInterval serviceInterval)
           
 
Method Summary
protected static org.onebusaway.gtfs.model.calendar.ServiceInterval computeServiceInterval(HasBlockTrips blockIndex, int blockSequence)
          Private Methods
 List<BlockConfigurationEntry> getBlockConfigs()
           
 ServiceIdActivation getServiceIds()
           
 org.onebusaway.gtfs.model.calendar.ServiceInterval getServiceInterval()
           
 StopEntry getStop()
           
protected  BlockStopTimeEntry getStopTimeForIndex(int index)
           
 List<BlockStopTimeEntry> getStopTimes()
           
 List<BlockTripEntry> getTrips()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_blockConfigs

protected final List<BlockConfigurationEntry> _blockConfigs

_stopIndices

protected final int[] _stopIndices
Constructor Detail

AbstractBlockStopTimeIndex

public AbstractBlockStopTimeIndex(List<BlockConfigurationEntry> blockConfigs,
                                  int[] stopIndices,
                                  org.onebusaway.gtfs.model.calendar.ServiceInterval serviceInterval)
Method Detail

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 © 2011 OneBusAway. All Rights Reserved.