class CoordinateList extends ArrayList[Coordinate]
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- CoordinateList
- ArrayList
- Serializable
- Cloneable
- RandomAccess
- AbstractList
- List
- AbstractCollection
- Collection
- Iterable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CoordinateList(coord: Array[Coordinate])
Constructs a new list from an array of Coordinates, allowing repeated points.
Constructs a new list from an array of Coordinates, allowing repeated points. (I.e. this constructor produces a {link CoordinateList} with exactly the same set of points as the input array.)
- coord
the initial coordinates
- new CoordinateList(coord: Array[Coordinate], allowRepeated: Boolean)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(i: Int, coord: Coordinate, allowRepeated: Boolean): Unit
Inserts the specified coordinate at the specified position in this list.
Inserts the specified coordinate at the specified position in this list.
- i
the position at which to insert
- coord
the coordinate to insert
- allowRepeated
if set to false, repeated coordinates are collapsed
- def add(coord: Coordinate, allowRepeated: Boolean): Unit
Adds a coordinate to the end of the list.
Adds a coordinate to the end of the list.
- coord
The coordinates
- allowRepeated
if set to false, repeated coordinates are collapsed
- def add(obj: Any, allowRepeated: Boolean): Boolean
Adds a coordinate to the list.
Adds a coordinate to the list.
- obj
The coordinate to add
- allowRepeated
if set to false, repeated coordinates are collapsed return true (as by general collection contract)
- def add(coord: Array[Coordinate], allowRepeated: Boolean): Boolean
Adds an array of coordinates to the list.
Adds an array of coordinates to the list.
- coord
The coordinates
- allowRepeated
if set to false, repeated coordinates are collapsed return true (as by general collection contract)
- def add(coord: Array[Coordinate], allowRepeated: Boolean, direction: Boolean): Boolean
Adds an array of coordinates to the list.
Adds an array of coordinates to the list.
- coord
The coordinates
- allowRepeated
if set to false, repeated coordinates are collapsed
- direction
if false, the array is added in reverse order return true (as by general collection contract)
- def add(coord: Array[Coordinate], allowRepeated: Boolean, start: Int, end: Int): Boolean
Adds a section of an array of coordinates to the list.
Adds a section of an array of coordinates to the list.
- coord
The coordinates
- allowRepeated
if set to false, repeated coordinates are collapsed
- start
the index to start from
- end
the index to add up to but not including return true (as by general collection contract)
- def add(coord: Coordinate): Boolean
- Definition Classes
- CoordinateList → ArrayList → AbstractList → List → AbstractCollection → Collection
- def add(arg0: Int, arg1: Coordinate): Unit
- Definition Classes
- ArrayList → AbstractList → List
- def addAll(coll: Collection[_ <: Coordinate], allowRepeated: Boolean): Boolean
Add an array of coordinates
Add an array of coordinates
- coll
The coordinates
- allowRepeated
if set to false, repeated coordinates are collapsed return true (as by general collection contract)
- def addAll(arg0: Int, arg1: Collection[_ <: Coordinate]): Boolean
- Definition Classes
- ArrayList → AbstractList → List
- def addAll(arg0: Collection[_ <: Coordinate]): Boolean
- Definition Classes
- ArrayList → List → AbstractCollection → Collection
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clear(): Unit
- Definition Classes
- ArrayList → AbstractList → List → AbstractCollection → Collection
- def clone(): CoordinateList
Returns a deep copy of this CoordinateList instance.
Returns a deep copy of this CoordinateList instance.
return a clone of this CoordinateList instance
- Definition Classes
- CoordinateList → ArrayList → AnyRef
- def closeRing(): Unit
Ensure this coordList is a ring, by adding the start point if necessary
- def contains(arg0: AnyRef): Boolean
- Definition Classes
- ArrayList → List → AbstractCollection → Collection
- def containsAll(arg0: Collection[_ <: AnyRef]): Boolean
- Definition Classes
- AbstractCollection → Collection
- def ensureCapacity(arg0: Int): Unit
- Definition Classes
- ArrayList
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AbstractList → List → Collection → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def forEach(arg0: Consumer[_ >: Coordinate <: AnyRef]): Unit
- Definition Classes
- ArrayList → Iterable
- def get(arg0: Int): Coordinate
- Definition Classes
- ArrayList → AbstractList → List
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCoordinate(i: Int): Coordinate
- def hashCode(): Int
- Definition Classes
- AbstractList → List → Collection → AnyRef → Any
- def indexOf(arg0: AnyRef): Int
- Definition Classes
- ArrayList → AbstractList → List
- def isEmpty(): Boolean
- Definition Classes
- ArrayList → List → AbstractCollection → Collection
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator(): Iterator[Coordinate]
- Definition Classes
- ArrayList → AbstractList → List → AbstractCollection → Collection → Iterable
- def lastIndexOf(arg0: AnyRef): Int
- Definition Classes
- ArrayList → AbstractList → List
- def listIterator(): ListIterator[Coordinate]
- Definition Classes
- ArrayList → AbstractList → List
- def listIterator(arg0: Int): ListIterator[Coordinate]
- Definition Classes
- ArrayList → AbstractList → List
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parallelStream(): Stream[Coordinate]
- Definition Classes
- Collection
- def remove(arg0: AnyRef): Boolean
- Definition Classes
- ArrayList → List → AbstractCollection → Collection
- def remove(arg0: Int): Coordinate
- Definition Classes
- ArrayList → AbstractList → List
- def removeAll(arg0: Collection[_ <: AnyRef]): Boolean
- Definition Classes
- ArrayList → List → AbstractCollection → Collection
- def removeIf(arg0: Predicate[_ >: Coordinate <: AnyRef]): Boolean
- Definition Classes
- ArrayList → Collection
- def removeRange(arg0: Int, arg1: Int): Unit
- Attributes
- protected[java.util]
- Definition Classes
- ArrayList → AbstractList
- def replaceAll(arg0: UnaryOperator[Coordinate]): Unit
- Definition Classes
- ArrayList → List
- def retainAll(arg0: Collection[_ <: AnyRef]): Boolean
- Definition Classes
- ArrayList → List → AbstractCollection → Collection
- def set(arg0: Int, arg1: Coordinate): Coordinate
- Definition Classes
- ArrayList → AbstractList → List
- def size(): Int
- Definition Classes
- ArrayList → List → AbstractCollection → Collection
- def sort(arg0: Comparator[_ >: Coordinate <: AnyRef]): Unit
- Definition Classes
- ArrayList → List
- def spliterator(): Spliterator[Coordinate]
- Definition Classes
- ArrayList → List → Collection → Iterable
- def stream(): Stream[Coordinate]
- Definition Classes
- Collection
- def subList(arg0: Int, arg1: Int): List[Coordinate]
- Definition Classes
- ArrayList → AbstractList → List
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toArray[T <: AnyRef](arg0: Array[T]): Array[T]
- Definition Classes
- ArrayList → List → AbstractCollection → Collection
- def toArray(): Array[AnyRef]
- Definition Classes
- ArrayList → List → AbstractCollection → Collection
- def toCoordinateArray(isForward: Boolean): Array[Coordinate]
Creates an array containing the coordinates in this list, oriented in the given direction (forward or reverse).
- def toCoordinateArray: Array[Coordinate]
Returns the Coordinates in this collection.
Returns the Coordinates in this collection.
return the coordinates
- def toString(): String
- Definition Classes
- AbstractCollection → AnyRef → Any
- def trimToSize(): Unit
- Definition Classes
- ArrayList
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()