public class _UnmodifiableCompositeSet extends _UnmodifiableSet
Constructor and Description |
---|
_UnmodifiableCompositeSet(Set set1,
Set set2) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object o) |
Iterator |
iterator() |
int |
size() |
add, clear, remove
equals, hashCode, removeAll
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
iterator
in interface Set
iterator
in class AbstractCollection
public boolean contains(Object o)
contains
in interface Collection
contains
in interface Set
contains
in class AbstractCollection
public int size()
size
in interface Collection
size
in interface Set
size
in class AbstractCollection
Copyright © 2016. All Rights Reserved.