|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.util.hashtable.AbstractHashtable
org.exist.util.hashtable.SequencedLongHashMap
Nested Class Summary | |
static class |
SequencedLongHashMap.Entry
Represents an entry in the map. |
Constructor Summary | |
SequencedLongHashMap()
|
|
SequencedLongHashMap(int iSize)
|
Method Summary | |
void |
clear()
Clear the map. |
java.lang.Object |
get(long key)
Returns the value for key or null if the key is not in the map. |
SequencedLongHashMap.Entry |
getFirstEntry()
Returns the first entry added to the map. |
java.util.Iterator |
iterator()
Returns an iterator over all keys in the order in which they were inserted. |
void |
put(long key,
java.lang.Object value)
Add a new entry for the key. |
java.lang.Object |
remove(long key)
Remove the entry specified by key from the map. |
void |
removeEntry(SequencedLongHashMap.Entry entry)
Remove an entry. |
java.lang.Object |
removeFirst()
Remove the first entry added to the map. |
java.util.Iterator |
valueIterator()
Returns an iterator over all values in the order in which they were inserted. |
Methods inherited from class org.exist.util.hashtable.AbstractHashtable |
getMaxRehash, isPrime, nextPrime, size |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SequencedLongHashMap()
public SequencedLongHashMap(int iSize)
Method Detail |
public void put(long key, java.lang.Object value)
key
- value
- public java.lang.Object get(long key)
key
- public SequencedLongHashMap.Entry getFirstEntry()
public java.lang.Object remove(long key)
key
- public java.lang.Object removeFirst()
public void removeEntry(SequencedLongHashMap.Entry entry)
entry
- public void clear()
public java.util.Iterator iterator()
iterator
in class AbstractHashtable
public java.util.Iterator valueIterator()
valueIterator
in class AbstractHashtable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |