Class StopSequencesServiceImpl
- java.lang.Object
-
- org.onebusaway.transit_data_federation.impl.StopSequencesServiceImpl
-
- All Implemented Interfaces:
StopSequencesService
@Component public class StopSequencesServiceImpl extends Object implements StopSequencesService
-
-
Constructor Summary
Constructors Constructor Description StopSequencesServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<StopSequence>
getStopSequencesForTrips(List<BlockTripEntry> trips)
Recall that a stop sequence is a unique sequence of stops visited by a transit trip.
-
-
-
Method Detail
-
getStopSequencesForTrips
public List<StopSequence> getStopSequencesForTrips(List<BlockTripEntry> trips)
Description copied from interface:StopSequencesService
Recall that a stop sequence is a unique sequence of stops visited by a transit trip. So typically, multiple trips will often refer to the same stop sequence, but not always. Here we find all unique sequences for the set of trips.- Specified by:
getStopSequencesForTrips
in interfaceStopSequencesService
- Parameters:
trips
- set of trips- Returns:
- the set of unique stop sequences visited by the trips
-
-