public final class UnmodifiableListSet<E> extends AbstractSet<E>
Constructor and Description |
---|
UnmodifiableListSet(List<E> backingList) |
Modifier and Type | Method and Description |
---|---|
Iterator<E> |
iterator()
Required implementation that returns an iterator.
|
int |
size() |
equals, hashCode, removeAll
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public Iterator<E> iterator()
public int size()
size
in interface Collection<E>
size
in interface Set<E>
size
in class AbstractCollection<E>
Copyright © 2020. All rights reserved.