public class LongObjectHashMap<T> extends LongHashSet
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
values |
capacity, EMPTY, keys, maxSteps, REMOVED, size, sizeOffset, unsafe| Constructor and Description |
|---|
LongObjectHashMap(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
T |
get(long key) |
void |
put(long key,
T value) |
T |
remove(long key) |
T |
replace(long key,
T newValue) |
boolean |
replace(long key,
T oldValue,
T newValue) |
T |
replaceValueAt(int index,
T newValue) |
void |
setValueAt(int index,
T value) |
T |
valueAt(int index) |
capacity, decrementSize, getKey, hash, incrementSize, keyAt, putKey, removeKey, setKeyAt, size, sizeInBytesprotected final Object[] values
Copyright © 2019. All rights reserved.