public class ReadOnlyCoordinates
extends java.lang.Object
implements java.util.Collection<Coordinate>
Constructor and Description |
---|
ReadOnlyCoordinates(Coordinate[] coordinates) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Coordinate e) |
boolean |
addAll(java.util.Collection<? extends Coordinate> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
isEmpty() |
java.util.Iterator<Coordinate> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public int size()
size
in interface java.util.Collection<Coordinate>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<Coordinate>
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<Coordinate>
public java.util.Iterator<Coordinate> iterator()
iterator
in interface java.lang.Iterable<Coordinate>
iterator
in interface java.util.Collection<Coordinate>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<Coordinate>
public <T> T[] toArray(T[] a)
toArray
in interface java.util.Collection<Coordinate>
public boolean add(Coordinate e)
add
in interface java.util.Collection<Coordinate>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<Coordinate>
public boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<Coordinate>
public boolean addAll(java.util.Collection<? extends Coordinate> c)
addAll
in interface java.util.Collection<Coordinate>
public boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<Coordinate>
public boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<Coordinate>
public void clear()
clear
in interface java.util.Collection<Coordinate>