org.onebusaway.transit_data_federation.impl.tripplanner
Class StopHopList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<StopHop>
          extended by org.onebusaway.transit_data_federation.impl.tripplanner.StopHopList
All Implemented Interfaces:
Iterable<StopHop>, Collection<StopHop>, List<StopHop>

public class StopHopList
extends AbstractList<StopHop>

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
StopHopList(List<StopHop> stopHops)
           
 
Method Summary
 StopHop 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

StopHopList

public StopHopList(List<StopHop> stopHops)
Method Detail

size

public int size()
Specified by:
size in interface Collection<StopHop>
Specified by:
size in interface List<StopHop>
Specified by:
size in class AbstractCollection<StopHop>

get

public StopHop get(int index)
Specified by:
get in interface List<StopHop>
Specified by:
get in class AbstractList<StopHop>


Copyright © 2012 OneBusAway. All Rights Reserved.