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, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public List<K> matchValue(Function<V,Boolean> valueMatchQuery)
StoreMap
matchValue
in interface StoreMap<K,V>
valueMatchQuery
- as Function that returns true on match or else false. null is an ExceptionCopyright © 2018. All rights reserved.