|
|||||||||
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 SecondaryHashMap<A,K,V>
Secondary HashMap. 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.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
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 |