Package org.locationtech.jts.jump.geom
Class CoordinateList
- java.lang.Object
- 
- java.util.AbstractCollection<E>
- 
- java.util.AbstractList<E>
- 
- java.util.ArrayList
- 
- org.locationtech.jts.jump.geom.CoordinateList
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable,- Collection,- List,- RandomAccess
 
 public class CoordinateList extends ArrayList A CoordinateList is a list of Coordinates. It prevents duplicate consecutive coordinates from appearing in the list.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class java.util.AbstractListmodCount
 
- 
 - 
Constructor SummaryConstructors Constructor Description CoordinateList()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Object obj)voidadd(org.locationtech.jts.geom.Coordinate coord)booleanaddAll(Collection coll)voidcloseRing()Ensure this coordList is a ring, by adding the start point if necessaryorg.locationtech.jts.geom.CoordinategetCoordinate(int i)org.locationtech.jts.geom.Coordinate[]toCoordinateArray()- 
Methods inherited from class java.util.ArrayListadd, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
 - 
Methods inherited from class java.util.AbstractCollectioncontainsAll, toString
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.CollectionparallelStream, stream, toArray
 - 
Methods inherited from interface java.util.ListcontainsAll
 
- 
 
- 
- 
- 
Method Detail- 
getCoordinatepublic org.locationtech.jts.geom.Coordinate getCoordinate(int i) 
 - 
addpublic boolean add(Object obj) 
 - 
addpublic void add(org.locationtech.jts.geom.Coordinate coord) 
 - 
addAllpublic boolean addAll(Collection coll) 
 - 
closeRingpublic void closeRing() Ensure this coordList is a ring, by adding the start point if necessary
 - 
toCoordinateArraypublic org.locationtech.jts.geom.Coordinate[] toCoordinateArray() 
 
- 
 
-