org.onebusaway.transit_data_federation.services.realtime
Class VehicleLocationCacheElements
java.lang.Object
org.onebusaway.transit_data_federation.services.realtime.VehicleLocationCacheElements
public class VehicleLocationCacheElements
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VehicleLocationCacheElements
public VehicleLocationCacheElements(BlockInstance blockInstance)
VehicleLocationCacheElements
public VehicleLocationCacheElements(BlockInstance blockInstance,
VehicleLocationCacheElement element)
extend
public VehicleLocationCacheElements extend(VehicleLocationCacheElement element)
pruneOlderThanTime
public VehicleLocationCacheElements pruneOlderThanTime(long time)
getBlockInstance
public BlockInstance getBlockInstance()
isEmpty
public boolean isEmpty()
getTimeRange
public org.onebusaway.collections.Range getTimeRange()
getElements
public List<VehicleLocationCacheElement> getElements()
getElementForTimestamp
public VehicleLocationCacheElement getElementForTimestamp(long targetTime)
getLastElement
public VehicleLocationCacheElement getLastElement()
Copyright © 2012 OneBusAway. All Rights Reserved.