| Modifier and Type | Field and Description |
|---|---|
| pack-priv Identicator | |
| pack-priv HashSet |
| Access | Constructor and Description |
|---|---|
| private | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(Object
element to be added to this set o)Overrides java. Implements java. Adds the specified element to this set if it is not already present (optional operation). |
| public void | clear()
Overrides java. Implements java. Removes all of the elements from this set (optional operation). |
| public boolean | contains(Object
element whose presence in this set is to be tested o)Overrides java. Implements java. Returns |
| private IdHashKey | |
| public Iterator | iterator()
Implements abstract java. Implements java. Returns an iterator over the elements in this set. |
| public boolean | remove(Object
object to be removed from this set, if present o)Overrides java. Implements java. Removes the specified element from this set if it is present (optional operation). |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this set (its cardinality). |
| id | back to summary |
|---|---|
| pack-priv Identicator id | |
| inner | back to summary |
|---|---|
| pack-priv HashSet<E> inner | |
| IdHashSet | back to summary |
|---|---|
| private IdHashSet(HashSet<E> inner, Identicator id) | |
| IdHashSet | back to summary |
|---|---|
| public IdHashSet(Identicator id) | |
| IdHashSet | back to summary |
|---|---|
| public IdHashSet(Collection<E> c, Identicator id) | |
| IdHashSet | back to summary |
|---|---|
| public IdHashSet(int initialCapacity, float loadFactor, Identicator id) | |
| IdHashSet | back to summary |
|---|---|
| public IdHashSet(int initialCapacity, Identicator id) | |
| add | back to summary |
|---|---|
| public boolean add(Object o) Overrides java. Implements java. Doc from java. Adds the specified element to this set if it is not already present
(optional operation). More formally, adds the specified element
The stipulation above does not imply that sets must accept all
elements; sets may refuse to add any particular element, including
| |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Removes all of the elements from this set (optional operation). The set will be empty after this call returns. | |
| contains | back to summary |
|---|---|
| public boolean contains(Object o) Overrides java. Implements java. Doc from java. Returns
| |
| createKey | back to summary |
|---|---|
| private IdHashKey createKey(Object o) | |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee).
| |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Overrides java. Implements java. Doc from java. Removes the specified element from this set if it is present
(optional operation). More formally, removes an element
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this set (its cardinality). If this
set contains more than
| |