org.onebusaway.transit_data_federation.impl.tripplanner
Class StopTransferList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<StopTransfer>
org.onebusaway.transit_data_federation.impl.tripplanner.StopTransferList
- All Implemented Interfaces:
- Iterable<StopTransfer>, Collection<StopTransfer>, List<StopTransfer>
public class StopTransferList
- extends AbstractList<StopTransfer>
A memory-optimize structure for holding a list of StopTransfer
objects
- Author:
- bdferris
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
StopTransferList
public StopTransferList(List<StopTransfer> stopTransfers)
size
public int size()
- Specified by:
size
in interface Collection<StopTransfer>
- Specified by:
size
in interface List<StopTransfer>
- Specified by:
size
in class AbstractCollection<StopTransfer>
get
public StopTransfer get(int index)
- Specified by:
get
in interface List<StopTransfer>
- Specified by:
get
in class AbstractList<StopTransfer>
Copyright © 2012 OneBusAway. All Rights Reserved.