|
|||||||||
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.btree.BTreeSortedMap<A,java.lang.Iterable<K>>
jdbm.btree.BTreeSecondarySortedMap<A,K,V>
public class BTreeSecondarySortedMap<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 | |
---|---|
BTreeSecondarySortedMap(BTree<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.btree.BTreeSortedMap |
---|
addRecordListener, clear, comparator, containsKey, entrySet, firstKey, get, getRecordManager, getTree, headMap, inBounds, lastKey, newIntegerKey, newLongKey, put, remove, removeRecordListener, subMap, tailMap |
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 java.util.SortedMap |
---|
comparator, entrySet, firstKey, headMap, keySet, lastKey, subMap, tailMap, values |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size |
Methods inherited from interface jdbm.helper.JdbmBase |
---|
find |
Constructor Detail |
---|
public BTreeSecondarySortedMap(BTree<A,java.lang.Iterable<K>> tree, JdbmBase<K,V> b)
Method Detail |
---|
public V getPrimaryValue(K k)
SecondaryTreeMap
getPrimaryValue
in interface SecondaryTreeMap<A,K,V>
k
- primary key
public java.lang.Iterable<V> getPrimaryValues(A a)
SecondaryTreeMap
getPrimaryValues
in interface SecondaryTreeMap<A,K,V>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |