Package org.onebusaway.gtfs.impl
Class ShapePointArray
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<ShapePoint>
-
- org.onebusaway.gtfs.impl.ShapePointArray
-
- All Implemented Interfaces:
Iterable<ShapePoint>,Collection<ShapePoint>,List<ShapePoint>
public class ShapePointArray extends AbstractList<ShapePoint>
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ShapePointArray()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(ShapePoint shapePoint)ListInterfacevoidclear()ShapePointget(int index)Iterator<ShapePoint>iterator()intsize()voidtrimToSize()-
Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, 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.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
trimToSize
public void trimToSize()
-
add
public boolean add(ShapePoint shapePoint)
ListInterface- Specified by:
addin interfaceCollection<ShapePoint>- Specified by:
addin interfaceList<ShapePoint>- Overrides:
addin classAbstractList<ShapePoint>
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<ShapePoint>- Specified by:
clearin interfaceList<ShapePoint>- Overrides:
clearin classAbstractList<ShapePoint>
-
iterator
public Iterator<ShapePoint> iterator()
- Specified by:
iteratorin interfaceCollection<ShapePoint>- Specified by:
iteratorin interfaceIterable<ShapePoint>- Specified by:
iteratorin interfaceList<ShapePoint>- Overrides:
iteratorin classAbstractList<ShapePoint>
-
get
public ShapePoint get(int index)
- Specified by:
getin interfaceList<ShapePoint>- Specified by:
getin classAbstractList<ShapePoint>
-
size
public int size()
- Specified by:
sizein interfaceCollection<ShapePoint>- Specified by:
sizein interfaceList<ShapePoint>- Specified by:
sizein classAbstractCollection<ShapePoint>
-
-