de.greenrobot.dao
Class LongHashMap
java.lang.Object
de.greenrobot.dao.LongHashMap
- Type Parameters:
-
T
- The class to store.
-
public final class LongHashMap
- extends java.lang.Object
-
An minimalistic hash map optimized for long keys.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongHashMap
public LongHashMap()
LongHashMap
public LongHashMap(int capacity)
containsKey
public boolean containsKey(long key)
-
get
public T get(long key)
-
put
public T put(long key,
T value)
-
remove
public T remove(long key)
-
clear
public void clear()
-
size
public int size()
-
setCapacity
public void setCapacity(int newCapacity)
-
reserveRoom
public void reserveRoom(int entryCount)
-
Target load: 0,6
-
logStats
public void logStats()
-
Copyright © 2011-2012 greenrobot.de. All Rights Reserved.