| java.lang.Object com.quadcap.util.collections.LongMap
LongMap | public class LongMap (Code) | | A map with long values as keys
author: Stan Bailes |
Inner Class :public class LongMapIterator implements LongIterator | |
Constructor Summary | |
public | LongMap(int initSize) Create an empty map with a specified number of buckets. |
LongMap | public LongMap(int initSize)(Code) | | Create an empty map with a specified number of buckets.
|
buckets | final public int buckets()(Code) | | |
freeEntry | final void freeEntry(Entry entry)(Code) | | |
get | final public synchronized Object get(long key)(Code) | | Return the Object with the specified key value
|
hash | final int hash(long key)(Code) | | |
isPrime | final boolean isPrime(int x)(Code) | | |
put | final public synchronized void put(long key, Object val)(Code) | | Insert a key, value pair
|
remove | final public synchronized void remove(long key)(Code) | | Remove the specified key
|
size | final public int size()(Code) | | Return the number of entries
|
|
|