jdbm.htree
Class HTreeMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
jdbm.helper.AbstractPrimaryMap<K,V>
jdbm.htree.HTreeMap<K,V>
- All Implemented Interfaces:
- java.util.Map<K,V>, JdbmBase<K,V>, PrimaryHashMap<K,V>, PrimaryMap<K,V>
- Direct Known Subclasses:
- HTreeSecondaryMap
public class HTreeMap<K,V>
- extends AbstractPrimaryMap<K,V>
- implements PrimaryHashMap<K,V>
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Methods inherited from class jdbm.helper.AbstractPrimaryMap |
find, inverseHashView, secondaryHashMap, secondaryHashMap, secondaryHashMapManyToOne, secondaryHashMapManyToOne, secondaryTreeMap, secondaryTreeMap, secondaryTreeMap, secondaryTreeMap, secondaryTreeMapManyToOne, secondaryTreeMapManyToOne, secondaryTreeMapManyToOne, secondaryTreeMapManyToOne |
Methods inherited from class java.util.AbstractMap |
containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jdbm.PrimaryMap |
inverseHashView, secondaryHashMap, secondaryHashMap, secondaryHashMapManyToOne, secondaryHashMapManyToOne, secondaryTreeMap, secondaryTreeMap, secondaryTreeMap, secondaryTreeMap, secondaryTreeMapManyToOne, secondaryTreeMapManyToOne, secondaryTreeMapManyToOne, secondaryTreeMapManyToOne |
Methods inherited from interface java.util.Map |
containsValue, equals, hashCode, isEmpty, keySet, putAll, size, values |
HTreeMap
public HTreeMap(HTree<K,V> tree,
boolean readonly)
entrySet
public java.util.Set<java.util.Map.Entry<K,V>> entrySet()
- Specified by:
entrySet
in interface java.util.Map<K,V>
- Specified by:
entrySet
in class java.util.AbstractMap<K,V>
get
public V get(java.lang.Object key)
- Specified by:
get
in interface java.util.Map<K,V>
- Overrides:
get
in class java.util.AbstractMap<K,V>
remove
public V remove(java.lang.Object key)
- Specified by:
remove
in interface java.util.Map<K,V>
- Overrides:
remove
in class java.util.AbstractMap<K,V>
put
public V put(K key,
V value)
- Specified by:
put
in interface java.util.Map<K,V>
- Overrides:
put
in class java.util.AbstractMap<K,V>
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interface java.util.Map<K,V>
- Overrides:
containsKey
in class java.util.AbstractMap<K,V>
getTree
public HTree<K,V> getTree()
addRecordListener
public void addRecordListener(RecordListener<K,V> listener)
- Description copied from interface:
JdbmBase
- add RecordListener which is notified about record changes
- Specified by:
addRecordListener
in interface JdbmBase<K,V>
getRecordManager
public RecordManager getRecordManager()
- Specified by:
getRecordManager
in interface JdbmBase<K,V>
- Returns:
- underlying record manager
removeRecordListener
public void removeRecordListener(RecordListener<K,V> listener)
- Description copied from interface:
JdbmBase
- remove RecordListener which is notified about record changes
- Specified by:
removeRecordListener
in interface JdbmBase<K,V>
clear
public void clear()
- Specified by:
clear
in interface java.util.Map<K,V>
- Overrides:
clear
in class java.util.AbstractMap<K,V>
Cees de Groot (C) 2000. All rights reserved http://jdbm.sourceforge.net