public final class LongToIntHashMap extends Object
Modifier and Type | Class and Description |
---|---|
class |
LongToIntHashMap.Entry |
Constructor and Description |
---|
LongToIntHashMap() |
LongToIntHashMap(int initCapacity_) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
LongToIntHashMap |
copy() |
void |
ensureCapacity(int capacity) |
Iterable<Map.Entry<Long,Integer>> |
entries() |
int |
get(long k,
int def) |
List<LongToIntHashMap.Entry> |
getObjectsSortedByValue(boolean descending) |
void |
incrementCount(long k,
int d) |
boolean |
isEmpty() |
Iterable<Long> |
keySet() |
Iterable<LongToIntHashMap.Entry> |
primitiveEntries() |
void |
put(Long k,
int v) |
void |
setLoadFactor(double loadFactor) |
int |
size() |
void |
toSorted() |
String |
toString() |
public LongToIntHashMap()
public LongToIntHashMap(int initCapacity_)
public void setLoadFactor(double loadFactor)
public void toSorted()
public void put(Long k, int v)
public void incrementCount(long k, int d)
public int get(long k, int def)
public boolean isEmpty()
public void ensureCapacity(int capacity)
public int size()
public Iterable<LongToIntHashMap.Entry> primitiveEntries()
public void clear()
public List<LongToIntHashMap.Entry> getObjectsSortedByValue(boolean descending)
public LongToIntHashMap copy()