public class UnmodifiableSizeTwoSet<T> extends AbstractSet<T>
| Constructor and Description |
|---|
UnmodifiableSizeTwoSet(T o1,
T o2) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object o) |
Iterator<T> |
iterator() |
int |
size() |
equals, hashCode, removeAlladd, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, containsAll, isEmpty, remove, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic boolean contains(Object o)
contains in interface Collection<T>contains in interface Set<T>contains in class AbstractCollection<T>public final int size()
size in interface Collection<T>size in interface Set<T>size in class AbstractCollection<T>Copyright © 2016. All rights reserved.