- <init>
Constructs an empty HashMap with the default initial capacity (16) and the
default load factor (0.75
- addEntry
Adds a new entry with the specified key, value and hash code to the specified
bucket. It is the resp
- clear
Removes all of the mappings from this map. The map will be empty after this call
returns.
- containsKey
Returns true if this map contains a mapping for the specified key.
- createEntry
Like addEntry except that this version is used when creating entries as part of
Map construction or
- entrySet
Returns a Set view of the mappings contained in this map. The set is backed by
the map, so changes t
- entrySet0
- get
Returns the value to which the specified key is mapped, or null if this map
contains no mapping for
- getEntry
Returns the entry associated with the specified key in the IntHashMap. Returns
null if the IntHashMa
- getForNullKey
Offloaded version of get() to look up null keys. Null keys map to index 0. This
null case is split o
- hash
Applies a supplemental hash function to a given hashCode, which defends against
poor quality hash fu
- hashCode
Returns the hash code value for this map. The hash code of a map is defined to
be the sum of the has