| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private class | |
| private class | |
| private abstract class | |
| private class | |
| private class | |
| private static class | |
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private transient Set | |
| private final boolean | |
| pack-priv transient volatile Set | |
| private final float | |
| private HashMapInt. | |
| private int | |
| pack-priv transient volatile Collection |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public Object | |
| public boolean | |
| public boolean | |
| public boolean | |
| public Set | |
| public int | |
| pack-priv HashMapInt. | |
| private <V> int | |
| public boolean | |
| private <V> boolean | |
| public Set | |
| pack-priv Iterator | |
| pack-priv Iterator | |
| pack-priv Iterator | |
| public static <U> HashMapInt | |
| public int | |
| protected void | |
| public int | |
| public int | |
| public String | |
| public Collection |
| count | back to summary |
|---|---|
| private int count | |
| entrySet | back to summary |
|---|---|
| private transient Set<HashMapInt. | |
| identity | back to summary |
|---|---|
| private final boolean identity | |
| keySet | back to summary |
|---|---|
| pack-priv transient volatile Set<V> keySet | |
| loadFactor | back to summary |
|---|---|
| private final float loadFactor | |
| table | back to summary |
|---|---|
| private HashMapInt. | |
| threshold | back to summary |
|---|---|
| private int threshold | |
| values | back to summary |
|---|---|
| pack-priv transient volatile Collection<Integer> values | |
| HashMapInt | back to summary |
|---|---|
| public HashMapInt() | |
| HashMapInt | back to summary |
|---|---|
| public HashMapInt(boolean identity) | |
| HashMapInt | back to summary |
|---|---|
| public HashMapInt(int initialCapacity, boolean identity) | |
| HashMapInt | back to summary |
|---|---|
public HashMapInt(int initialCapacity, float loadFactor, boolean identity)
| |
| clear | back to summary |
|---|---|
| public synchronized void clear() | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| contains | back to summary |
|---|---|
| public boolean contains(int value) | |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(int value) | |
| entrySet | back to summary |
|---|---|
| public Set | |
| get | back to summary |
|---|---|
| public int get(V key) | |
| getEntry | back to summary |
|---|---|
| pack-priv HashMapInt. | |
| getHash | back to summary |
|---|---|
| private <V> int getHash(V key) | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| keyMatches | back to summary |
|---|---|
| private <V> boolean keyMatches(V key, HashMapInt. | |
| keySet | back to summary |
|---|---|
| public Set | |
| newEntryIterator | back to summary |
|---|---|
| pack-priv Iterator | |
| newKeyIterator | back to summary |
|---|---|
| pack-priv Iterator | |
| newValueIterator | back to summary |
|---|---|
| pack-priv Iterator | |
| nullMap | back to summary |
|---|---|
public static <U> HashMapInt
| |
| put | back to summary |
|---|---|
| public int put(V key, int value) | |
| rehash | back to summary |
|---|---|
| protected void rehash() | |
| remove | back to summary |
|---|---|
| public int remove(V key) | |
| size | back to summary |
|---|---|
| public int size() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| values | back to summary |
|---|---|
| public Collection | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final V | |
| pack-priv HashMapInt. | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public V | |
| public int |
| hash | back to summary |
|---|---|
| pack-priv final int hash | |
| key | back to summary |
|---|---|
| pack-priv final V key | |
| next | back to summary |
|---|---|
| pack-priv HashMapInt. | |
| value | back to summary |
|---|---|
| pack-priv int value | |
| Entry | back to summary |
|---|---|
| protected Entry(int hash, V key, int value, HashMapInt. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public HashMapInt. |
| EntryIterator | back to summary |
|---|---|
| private EntryIterator() | |
| next | back to summary |
|---|---|
| public HashMapInt. Implements java. Doc from java. Returns the next element in the iteration.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| 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 |
| 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). |
| EntrySet | back to summary |
|---|---|
| private EntrySet() | |
| 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 | |
| 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
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv HashMapInt. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| pack-priv HashMapInt. | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| index | back to summary |
|---|---|
| pack-priv int index | |
| next | back to summary |
|---|---|
| pack-priv HashMapInt. | |
| HashIterator | back to summary |
|---|---|
| pack-priv HashIterator() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| nextEntry | back to summary |
|---|---|
| pack-priv HashMapInt. | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public V |
| KeyIterator | back to summary |
|---|---|
| private KeyIterator() | |
| next | back to summary |
|---|---|
| public V next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| 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 |
| 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). |
| KeySet | back to summary |
|---|---|
| private KeySet() | |
| 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 | |
| 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
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final HashMapInt. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public int | |
| public int | |
| protected void | |
| public int |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final HashMapInt. | |
| NullMap | back to summary |
|---|---|
| private NullMap() | |
| contains | back to summary |
|---|---|
| public boolean contains(int value) Overrides org.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) Overrides org.
| |
| get | back to summary |
|---|---|
| public int get(Object key) Overrides org.
| |
| put | back to summary |
|---|---|
| public int put(Object key, int value) Overrides org.
| |
| rehash | back to summary |
|---|---|
| protected void rehash() Overrides org.
| |
| remove | back to summary |
|---|---|
| public int remove(Object key) Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Integer |
| ValueIterator | back to summary |
|---|---|
| private ValueIterator() | |
| next | back to summary |
|---|---|
| public Integer next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides java. Implements java. Removes all of the elements from this collection (optional operation). |
| public boolean | contains(Object
element whose presence in this collection is to be tested o)Overrides java. Implements java. Returns |
| public Iterator | iterator()
Implements abstract java. Implements java. Returns an iterator over the elements contained in this collection. |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this collection. |
| Values | back to summary |
|---|---|
| private Values() | |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Removes all of the elements from this collection (optional operation). The collection will be empty after this method returns.
| |
| contains | back to summary |
|---|---|
| public boolean contains(Object o) Overrides java. Implements java. Doc from java. Returns
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements contained in this collection. | |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this collection. If this collection
contains more than
| |