|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.handle.jdb.LongTable
public class LongTable
Constructor Summary | |
---|---|
LongTable()
Constructor with default initial capacity and default load factor. |
|
LongTable(int initialCapacity)
Constructor with explicit initial capacity, default load factor. |
|
LongTable(int initialCapacity,
float loadFactor)
Constructor with explicit initial capacity and load factor. |
Method Summary | |
---|---|
void |
clear()
Clear the entire table. |
boolean |
contains(net.handle.jdb.Block value)
Return true if table contains given block, otherwise false. |
boolean |
containsKey(long key)
Return true if given key is in table, otherwise false. |
net.handle.jdb.Block |
get(long key)
Fetch the block value for the given key. |
boolean |
isEmpty()
Return true if table is empty, otherwise false. |
LongTableEnumerator |
keys()
Return an enumerator object for the table. |
void |
put(long key,
net.handle.jdb.Block value)
Enter the given value into the table by the given key. |
protected void |
rehash()
Rehash the table. |
void |
remove(long key)
Remove the block for the given key from the table. |
int |
size()
Return number of elements in table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LongTable(int initialCapacity, float loadFactor)
public LongTable(int initialCapacity)
public LongTable()
Method Detail |
---|
public int size()
public boolean isEmpty()
public LongTableEnumerator keys()
public boolean contains(net.handle.jdb.Block value)
public boolean containsKey(long key)
public net.handle.jdb.Block get(long key)
protected void rehash()
public void put(long key, net.handle.jdb.Block value)
public void remove(long key)
public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |