public class IntHashMap<V>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
IntHashMap.Entry<V> |
Modifier and Type | Field and Description |
---|---|
private int |
count |
private float |
growFactor |
private IntHashMap.Entry<V>[] |
slots |
private int |
threshold |
Constructor and Description |
---|
IntHashMap() |
Modifier and Type | Method and Description |
---|---|
void |
addKey(int hashEntry,
V valueEntry) |
void |
clearMap() |
private static int |
computeHash(int integer) |
boolean |
containsItem(int hashEntry) |
private void |
copyTo(IntHashMap.Entry<V>[] p_76048_1_) |
private static int |
getSlotIndex(int hash,
int slotCount) |
private void |
grow(int p_76047_1_) |
private void |
insert(int p_76040_1_,
int p_76040_2_,
V p_76040_3_,
int p_76040_4_) |
V |
lookup(int hashEntry) |
(package private) IntHashMap.Entry<V> |
lookupEntry(int hashEntry) |
(package private) IntHashMap.Entry<V> |
removeEntry(int p_76036_1_) |
V |
removeObject(int o) |
private transient IntHashMap.Entry<V>[] slots
private transient int count
private int threshold
private final float growFactor
private static int computeHash(int integer)
private static int getSlotIndex(int hash, int slotCount)
@Nullable public V lookup(int hashEntry)
public boolean containsItem(int hashEntry)
@Nullable final IntHashMap.Entry<V> lookupEntry(int hashEntry)
public void addKey(int hashEntry, V valueEntry)
private void grow(int p_76047_1_)
private void copyTo(IntHashMap.Entry<V>[] p_76048_1_)
@Nullable public V removeObject(int o)
@Nullable final IntHashMap.Entry<V> removeEntry(int p_76036_1_)
public void clearMap()
private void insert(int p_76040_1_, int p_76040_2_, V p_76040_3_, int p_76040_4_)