|
|||||||
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
public class 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. |
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. |
Iterator |
iterator()
Returns an iterator over all keys in the order in which they were inserted. |
void |
put(long key,
Object value)
Add a new entry for the key. |
Object |
remove(long key)
Remove the entry specified by key from the map. |
void |
removeEntry(SequencedLongHashMap.Entry entry)
Remove an entry. |
Object |
removeFirst()
Remove the first entry added to the map. |
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, Object value)
key
- value
- public Object get(long key)
key
- public SequencedLongHashMap.Entry getFirstEntry()
public Object remove(long key)
key
- public Object removeFirst()
public void removeEntry(SequencedLongHashMap.Entry entry)
entry
- public void clear()
public Iterator iterator()
iterator
in class AbstractHashtable
public Iterator valueIterator()
valueIterator
in class AbstractHashtable
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |