use of org.onebusaway.transit_data_federation.services.blocks.BlockIndexFactoryService in project onebusaway-application-modules by camsys.
the class UnitTestingSupport method blockTripIndices.
public static List<BlockTripIndex> blockTripIndices(BlockEntryImpl... blocks) {
List<BlockEntry> list = new ArrayList<BlockEntry>();
for (BlockEntryImpl block : blocks) list.add(block);
BlockIndexFactoryService factory = new BlockIndexFactoryServiceImpl();
return factory.createTripIndices(list);
}
Aggregations