E
- Type of object from which a textual key must be extracted.protected static class TextualSearchList.DefaultKeyExtractor<E> extends java.lang.Object implements TextualSearchList.KeyExtractor<E>
TextualSearchList.KeyExtractor
.
The extracted key is the string returned by the toString()
function.Modifier | Constructor and Description |
---|---|
protected |
DefaultKeyExtractor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey(E obj)
Extracts an UNIQUE textual key (case-sensitive) from the given object.
|
public java.lang.String getKey(E obj)
TextualSearchList.KeyExtractor
getKey
in interface TextualSearchList.KeyExtractor<E>
obj
- Object from which a textual key must be extracted.