org.onebusaway.transit_data_federation.services.blocks
Class FrequencyBlockStopTimeIndex

java.lang.Object
  extended by org.onebusaway.transit_data_federation.services.blocks.AbstractBlockStopTimeIndex
      extended by org.onebusaway.transit_data_federation.services.blocks.FrequencyBlockStopTimeIndex
All Implemented Interfaces:
HasIndexedFrequencyBlockTrips

public class FrequencyBlockStopTimeIndex
extends AbstractBlockStopTimeIndex
implements HasIndexedFrequencyBlockTrips


Field Summary
 
Fields inherited from class org.onebusaway.transit_data_federation.services.blocks.AbstractBlockStopTimeIndex
_blockConfigs, _stopIndices
 
Constructor Summary
FrequencyBlockStopTimeIndex(List<FrequencyEntry> frequencies, List<BlockConfigurationEntry> blockConfigs, int[] stopIndices, org.onebusaway.gtfs.model.calendar.ServiceInterval serviceInterval)
           
 
Method Summary
 int getEndTimeForIndex(int index)
           
 List<FrequencyEntry> getFrequencies()
           
 List<FrequencyBlockStopTimeEntry> getFrequencyStopTimes()
           
 int getStartTimeForIndex(int index)
           
 
Methods inherited from class org.onebusaway.transit_data_federation.services.blocks.AbstractBlockStopTimeIndex
computeServiceInterval, getBlockConfigs, getServiceIds, getServiceInterval, getStop, getStopTimeForIndex, getStopTimes, getTrips, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrequencyBlockStopTimeIndex

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

getFrequencies

public List<FrequencyEntry> getFrequencies()

getStartTimeForIndex

public int getStartTimeForIndex(int index)
Specified by:
getStartTimeForIndex in interface HasIndexedFrequencyBlockTrips

getEndTimeForIndex

public int getEndTimeForIndex(int index)
Specified by:
getEndTimeForIndex in interface HasIndexedFrequencyBlockTrips

getFrequencyStopTimes

public List<FrequencyBlockStopTimeEntry> getFrequencyStopTimes()


Copyright © 2011 OneBusAway. All Rights Reserved.