| Modifier and Type | Field and Description |
|---|---|
| private long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized boolean | add(E e)
Overrides java. Implements java. Adds the specified element to this set if it is not already present. |
| public Iterator | iterator()
Overrides java. Implements java. Returns an iterator over the elements in this set. |
| public synchronized boolean | remove(Object o)
Overrides java. Implements java. Removes the specified element from this set if it is present. |
| public synchronized long |
| version | back to summary |
|---|---|
| private long version | |
| VersionedHashSet | back to summary |
|---|---|
| public VersionedHashSet() | |
| VersionedHashSet | back to summary |
|---|---|
| public VersionedHashSet(Collection<? extends E> c) | |
| VersionedHashSet | back to summary |
|---|---|
| public VersionedHashSet(int initialCapacity, float loadFactor) | |
| VersionedHashSet | back to summary |
|---|---|
| public VersionedHashSet(int initialCapacity) | |
| add | back to summary |
|---|---|
| public synchronized boolean add(E e) Overrides java. Implements java. Doc from java. Adds the specified element to this set if it is not already present.
More formally, adds the specified element | |
| iterator | back to summary |
|---|---|
| public Iterator Overrides java. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order. | |
| remove | back to summary |
|---|---|
| public synchronized boolean remove(Object o) Overrides java. Implements java. Doc from java. Removes the specified element from this set if it is present.
More formally, removes an element | |
| version | back to summary |
|---|---|
| public synchronized long version() | |