Class DictionaryInt
java.lang.Object
one.jfr.DictionaryInt
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidforEach(DictionaryInt.Visitor visitor) intget(long key) intget(long key, int notFound) intpreallocate(int count) voidput(long key, int value)
-
Constructor Details
-
DictionaryInt
public DictionaryInt() -
DictionaryInt
public DictionaryInt(int initialCapacity)
-
-
Method Details
-
clear
public void clear() -
put
public void put(long key, int value) -
get
public int get(long key) -
get
public int get(long key, int notFound) -
forEach
-
preallocate
public int preallocate(int count)
-