org.onebusaway.transit_data_federation.impl.tripplanner
Class StopTransferList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<StopTransfer>
          extended by 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

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
StopTransferList(List<StopTransfer> stopTransfers)
           
 
Method Summary
 StopTransfer get(int index)
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

StopTransferList

public StopTransferList(List<StopTransfer> stopTransfers)
Method Detail

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 © 2011 OneBusAway. All Rights Reserved.