|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
com.vividsolutions.jump.geom.CoordinateList
public class CoordinateList
A CoordinateList is a list of Coordinates. It prevents duplicate consecutive coordinates from appearing in the list.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
CoordinateList()
|
|
| Method Summary | |
|---|---|
void |
add(com.vividsolutions.jts.geom.Coordinate coord)
|
boolean |
add(java.lang.Object obj)
|
boolean |
addAll(java.util.Collection coll)
|
void |
closeRing()
Ensure this coordList is a ring, by adding the start point if necessary |
com.vividsolutions.jts.geom.Coordinate |
getCoordinate(int i)
|
com.vividsolutions.jts.geom.Coordinate[] |
toCoordinateArray()
|
| Methods inherited from class java.util.ArrayList |
|---|
add, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public CoordinateList()
| Method Detail |
|---|
public com.vividsolutions.jts.geom.Coordinate getCoordinate(int i)
public boolean add(java.lang.Object obj)
add in interface java.util.Collectionadd in interface java.util.Listadd in class java.util.ArrayListpublic void add(com.vividsolutions.jts.geom.Coordinate coord)
public boolean addAll(java.util.Collection coll)
addAll in interface java.util.CollectionaddAll in interface java.util.ListaddAll in class java.util.ArrayListpublic void closeRing()
public com.vividsolutions.jts.geom.Coordinate[] toCoordinateArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||