Interface ITranslator<T>
- Type Parameters:
T- the type of value to translate
- All Known Implementing Classes:
NoopTranslator,ResourceBundleTranslator
public interface ITranslator<T>
Interface for translating an object of type
T into a locale-specific string representation,
used by sorting comparators to obtain a display label before comparing elements.-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ITranslator<T> getTranslatorForFacetField(String field, Function<T, String> stringifier)
-
Method Details
-
translate
-
getTranslatorForFacetField
-