@FunctionalInterface public interface IHasDisplayText
| Modifier and Type | Method and Description |
|---|---|
default IHasText |
getAsHasText() |
static Comparator<IHasDisplayText> |
getComparatorCollating(Locale aContentLocale,
Locale aSortLocale) |
String |
getDisplayText(Locale aContentLocale) |
@Nullable String getDisplayText(@Nonnull Locale aContentLocale)
aContentLocale - The locale to be used for resolving. May not be null.null if the text could not be resolved in the passed
locale.@Nonnull default IHasText getAsHasText()
IHasText.@Nonnull static Comparator<IHasDisplayText> getComparatorCollating(@Nonnull Locale aContentLocale, @Nullable Locale aSortLocale)
Copyright © 2014–2020 Philip Helger. All rights reserved.