public class StoreHashMap<K,V> extends HashMap<K,V> implements StoreMap<K,V>, Serializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
StoreHashMap() |
StoreHashMap(int c) |
StoreHashMap(Map<K,V> map) |
| Modifier and Type | Method and Description |
|---|---|
List<K> |
matchKey(Function<K,Boolean> keyMatchQuery)
Find the Key that matches the keyQuery
|
List<K> |
matchValue(Function<V,Boolean> valueMatchQuery)
Find the Key for a given value.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic List<K> matchValue(Function<V,Boolean> valueMatchQuery)
StoreMapmatchValue in interface StoreMap<K,V>valueMatchQuery - as Function that returns true on match or else false. null is an ExceptionCopyright © 2018. All rights reserved.