| 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 | |
| pack-priv transient volatile Set | |
| private final float | |
| private IntHashMap. | |
| private int | |
| pack-priv transient volatile Collection |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public Object | |
| public boolean | |
| public boolean | |
| public boolean | |
| public Set | |
| public void | |
| public V | |
| pack-priv IntHashMap. | |
| public boolean | |
| public Set | |
| pack-priv Iterator | |
| pack-priv Iterator | |
| pack-priv Iterator | |
| public static <U> IntHashMap | |
| public V | |
| protected void | |
| public V | |
| public int | |
| public String | |
| public Collection |
| count | back to summary |
|---|---|
| private int count | |
| entrySet | back to summary |
|---|---|
| private transient Set<IntHashMap. | |
| keySet | back to summary |
|---|---|
| pack-priv transient volatile Set<Integer> keySet | |
| loadFactor | back to summary |
|---|---|
| private final float loadFactor | |
| table | back to summary |
|---|---|
| private IntHashMap. | |
| threshold | back to summary |
|---|---|
| private int threshold | |
| values | back to summary |
|---|---|
| pack-priv transient volatile Collection<V> values | |
| IntHashMap | back to summary |
|---|---|
| public IntHashMap() | |
| IntHashMap | back to summary |
|---|---|
| public IntHashMap(int initialCapacity) | |
| IntHashMap | back to summary |
|---|---|
public IntHashMap(int initialCapacity, float loadFactor)
| |
| 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(Object value) | |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(int key) | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) | |
| entrySet | back to summary |
|---|---|
| public Set | |
| forEach | back to summary |
|---|---|
| public void forEach(BiConsumer<Integer, ? super V> action) | |
| get | back to summary |
|---|---|
| public V get(int key) | |
| getEntry | back to summary |
|---|---|
| pack-priv IntHashMap. | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| 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> IntHashMap
| |
| put | back to summary |
|---|---|
| public V put(int key, V value) | |
| rehash | back to summary |
|---|---|
| protected void rehash() | |
| remove | back to summary |
|---|---|
| public V remove(int 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 int | |
| pack-priv IntHashMap. | |
| pack-priv V |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public V |
| hash | back to summary |
|---|---|
| pack-priv final int hash | |
| key | back to summary |
|---|---|
| pack-priv final int key | |
| next | back to summary |
|---|---|
| pack-priv IntHashMap. | |
| value | back to summary |
|---|---|
| pack-priv V value | |
| Entry | back to summary |
|---|---|
| protected Entry(int hash, int key, V value, IntHashMap. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public IntHashMap. |
| EntryIterator | back to summary |
|---|---|
| private EntryIterator() | |
| next | back to summary |
|---|---|
| public IntHashMap. 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 IntHashMap. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| pack-priv IntHashMap. | |
| 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 IntHashMap. | |
| 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 IntHashMap. | |
| 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 Integer |
| KeyIterator | back to summary |
|---|---|
| private KeyIterator() | |
| 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 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 IntHashMap. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public U | |
| public U | |
| protected void | |
| public U |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final IntHashMap. | |
| NullMap | back to summary |
|---|---|
| private NullMap() | |
| contains | back to summary |
|---|---|
| public boolean contains(Object value) Overrides org.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(int key) Overrides org.
| |
| get | back to summary |
|---|---|
| public U get(int key) Overrides org.
| |
| put | back to summary |
|---|---|
| public U put(int key, U value) Overrides org.
| |
| rehash | back to summary |
|---|---|
| protected void rehash() Overrides org.
| |
| remove | back to summary |
|---|---|
| public U remove(int key) Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public V |
| ValueIterator | back to summary |
|---|---|
| private ValueIterator() | |
| 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 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
| |