Package cds.utils
Interface TextualSearchList.KeyExtractor<E>
-
- Type Parameters:
E
- Type of object from which a textual key must be extracted.
- All Known Implementing Classes:
TextualSearchList.DefaultKeyExtractor
- Enclosing class:
- TextualSearchList<E>
public static interface TextualSearchList.KeyExtractor<E>
Lets extract an unique textual key (case-sensitive) from a given type of object.- Author:
- Gégory Mantelet (CDS)
- See Also:
TextualSearchList
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getKey(E obj)
Extracts an UNIQUE textual key (case-sensitive) from the given object.
-
-
-
Method Detail
-
getKey
java.lang.String getKey(E obj)
Extracts an UNIQUE textual key (case-sensitive) from the given object.- Parameters:
obj
- Object from which a textual key must be extracted.- Returns:
- Its textual key (case-sensitive).
-
-