|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A - Type of secondary keyK - Type of primary keyV - Type of value in primary mappublic interface SecondaryTreeMap<A,K,V>
Secondary TreeMap. It provides view over primary data. This map is updated automatically as primary map changes. This map is unmodifiable, any attempt to modify it will throw 'UnsupportedOperationException'
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| 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 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 |
| Method Detail |
|---|
V getPrimaryValue(K k)
k - primary key
java.lang.Iterable<V> getPrimaryValues(A a)
a -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||