E
- The element type of the collection.public abstract class CopyingFastCollection<E> extends java.util.AbstractCollection<E> implements FastCollection<E>
iterator()
in terms of
FastIterable.fastIterator()
and copy(Object)
.Constructor and Description |
---|
CopyingFastCollection() |
Modifier and Type | Method and Description |
---|---|
protected abstract E |
copy(E elt)
Copy an element of the collection.
|
java.util.Iterator<E> |
iterator() |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
fastIterator