E - the element typepublic class UnmodifiableUnionSet<E>
extends java.util.AbstractSet<E>
implements java.io.Serializable
| Constructor and Description |
|---|
UnmodifiableUnionSet(java.util.Set<E> first,
java.util.Set<E> second)
Constructs a new set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.Object o) |
java.util.Iterator<E> |
iterator() |
int |
size()
Since the view is live, this operation is no longer a constant time operation.
|
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic java.util.Iterator<E> iterator()
public int size()
Copyright © 2019. All Rights Reserved.