Package one.nio.mem
Class LongObjectHashMap<T>
java.lang.Object
one.nio.mem.LongHashSet
one.nio.mem.LongObjectHashMap<T>
-
Field Summary
FieldsFields inherited from class one.nio.mem.LongHashSet
capacity, EMPTY, keys, maxSteps, REMOVED, size, sizeOffset, unsafe -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()get(long key) voidremove(long key) booleanfinal TreplaceValueAt(int index, T newValue) final voidsetValueAt(int index, T value) final TvalueAt(int index) Methods inherited from class one.nio.mem.LongHashSet
capacity, decrementSize, getKey, hash, incrementSize, keyAt, putKey, removeKey, setKeyAt, size, sizeInBytes
-
Field Details
-
values
-
-
Constructor Details
-
LongObjectHashMap
public LongObjectHashMap(int capacity)
-
-
Method Details
-
get
-
put
-
replace
-
replace
-
remove
-
valueAt
-
setValueAt
-
replaceValueAt
-
clear
public void clear()- Overrides:
clearin classLongHashSet
-