public interface KeyExtractor<K,V>
KeyExtractor can be used to extract or derive “key” from a value data. The result “key” can be used to index the value in a Map data structure.
A general contract implementation must obey is different value must generate different key
| Modifier and Type | Interface and Description |
|---|---|
static class |
KeyExtractor.PropertyExtractor |
| Modifier and Type | Method and Description |
|---|---|
K |
keyOf(String hint,
V data)
Get the key of data
|
Copyright © 2017. All Rights Reserved.