K - the type of the Map entry keysV - the type of the Map entry valuespublic static interface QueryMap.Entry<K,V> extends Map.Entry<K,V>
| Modifier and Type | Method and Description |
|---|---|
<T,E> E |
extract(ValueExtractor<T,E> extractor)
Extract a value out of the Entry's key or value.
|
default <E> E |
extractFromKey(ValueExtractor<? super K,E> extractor)
Extract a value out of the Entry's key.
|
default <E> E |
extractFromValue(ValueExtractor<? super V,E> extractor)
Extract a value out of the Entry's value.
|
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, getKey, getValue, hashCode, setValue<T,E> E extract(ValueExtractor<T,E> extractor)
T - the type of the value to extract fromE - the type of value that will be extractedextractor - a ValueExtractor to apply to the Entry's key or valuedefault <E> E extractFromKey(ValueExtractor<? super K,E> extractor)
E - the type of value that will be extractedextractor - a ValueExtractor to apply to the Entry's keydefault <E> E extractFromValue(ValueExtractor<? super V,E> extractor)
E - the type of value that will be extractedextractor - a ValueExtractor to apply to the Entry's value