private static class IntHashMap.Entry
extends java.lang.Object
Innerclass that acts as a datastructure to create a new entry in the table.
Modifier and Type | Field and Description |
---|---|
(package private) int |
hash |
(package private) int |
key |
(package private) IntHashMap.Entry |
next |
(package private) java.lang.Object |
value |
Modifier | Constructor and Description |
---|---|
protected |
Entry(int hash,
int key,
java.lang.Object value,
IntHashMap.Entry next)
Create a new entry with the given values.
|
final int hash
final int key
java.lang.Object value
IntHashMap.Entry next
protected Entry(int hash, int key, java.lang.Object value, IntHashMap.Entry next)
Create a new entry with the given values.
hash
- The code used to hash the object withkey
- The key used to enter this in the tablevalue
- The value for this keynext
- A reference to the next entry in the table