org.onebusaway.transit_data_federation.impl.blocks
Class BlockLibrary
java.lang.Object
org.onebusaway.transit_data_federation.impl.blocks.BlockLibrary
public class BlockLibrary
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockLibrary
public BlockLibrary()
isFrequencyBased
public static boolean isFrequencyBased(BlockEntry blockEntry)
- Private Methods
createStrictlyOrderedGroups
public static <T> List<List<T>> createStrictlyOrderedGroups(List<T> elements,
Comparator<T> looseOrder,
Comparator<T> strictOrder)
getBestList
public static <T> List<T> getBestList(List<List<T>> lists,
T element,
Comparator<T> strictComparator)
Copyright © 2012 OneBusAway. All Rights Reserved.