|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
jdbm.helper.AbstractPrimaryMap<K,V>
jdbm.htree.HTreeMap<A,java.lang.Iterable<K>>
jdbm.htree.HTreeSecondaryMap<A,K,V>
public class HTreeSecondaryMap<A,K,V>
| Nested Class Summary |
|---|
| 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> |
| Constructor Summary | |
|---|---|
HTreeSecondaryMap(HTree<A,java.lang.Iterable<K>> tree,
JdbmBase<K,V> b)
|
|
| Method Summary | |
|---|---|
V |
getPrimaryValue(K k)
Convert primary key to primary value. |
java.lang.Iterable<V> |
getPrimaryValues(A a)
Returns values from primary map which are matching given secondary key |
| Methods inherited from class jdbm.htree.HTreeMap |
|---|
addRecordListener, containsKey, entrySet, get, getRecordManager, getTree, put, remove, removeRecordListener |
| Methods inherited from class jdbm.helper.AbstractPrimaryMap |
|---|
find, inverseHashView, secondaryHashMap, secondaryHashMapManyToOne, secondaryTreeMap, secondaryTreeMap, secondaryTreeMapManyToOne, secondaryTreeMapManyToOne |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, 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 java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from interface jdbm.PrimaryMap |
|---|
inverseHashView, secondaryHashMap, secondaryHashMapManyToOne, secondaryTreeMap, secondaryTreeMap, secondaryTreeMapManyToOne, secondaryTreeMapManyToOne |
| Methods inherited from interface jdbm.helper.JdbmBase |
|---|
find |
| Constructor Detail |
|---|
public HTreeSecondaryMap(HTree<A,java.lang.Iterable<K>> tree,
JdbmBase<K,V> b)
| Method Detail |
|---|
public V getPrimaryValue(K k)
SecondaryHashMap
getPrimaryValue in interface SecondaryHashMap<A,K,V>k - primary key
public java.lang.Iterable<V> getPrimaryValues(A a)
SecondaryHashMap
getPrimaryValues in interface SecondaryHashMap<A,K,V>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||