Object to char.
| Access | Constructor and Description |
|---|---|
| public | |
| public | ObjectCharIdentityHashMap(int
The expected number of elements guaranteed not to cause buffer
expansion (inclusive). expectedElements)New instance with sane defaults. |
| public | ObjectCharIdentityHashMap(int
The expected number of elements guaranteed not to cause a rehash
(inclusive). expectedElements, double The load factor for internal buffers. Insane load factors (zero, full
capacity) are rejected by loadFactor)verifyLoadFactor(double).New instance with the provided defaults. |
| public | ObjectCharIdentityHashMap(ObjectCharAssociativeContainer<? extends KType> container)
Create a hash map from all key-value pairs of another container. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public static <KType> ObjectCharIdentityHashMap | from(KType[] keys, char[] values)
Hides com. Creates a hash map from two index-aligned arrays of key-value pairs. |
| public int | hashKey(KType key)
Overrides com. Returns a hash code for the given key. |
| ObjectCharIdentityHashMap | back to summary |
|---|---|
| public ObjectCharIdentityHashMap() New instance with sane defaults. | |
| ObjectCharIdentityHashMap | back to summary |
|---|---|
| public ObjectCharIdentityHashMap(int expectedElements) New instance with sane defaults.
| |
| ObjectCharIdentityHashMap | back to summary |
|---|---|
| public ObjectCharIdentityHashMap(int expectedElements, double loadFactor) New instance with the provided defaults.
| |
| ObjectCharIdentityHashMap | back to summary |
|---|---|
| public ObjectCharIdentityHashMap(ObjectCharAssociativeContainer<? extends KType> container) Create a hash map from all key-value pairs of another container. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object v1, Object v2) Overrides com.
| |
| from | back to summary |
|---|---|
| public static <KType> ObjectCharIdentityHashMap Hides com. Doc from com. Creates a hash map from two index-aligned arrays of key-value pairs.
| |
| hashKey | back to summary |
|---|---|
| public int hashKey(KType key) Overrides com. Doc from com. Returns a hash code for the given key. The output from this function should evenly distribute keys across the entire integer range.
| |