@MustImplementEqualsAndHashcode public interface IMultilingualText extends IHasTextWithArgs, IHasSize
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLocale(Locale aLocale)
Check if the passed locale is directly contained.
|
boolean |
containsLocaleWithFallback(Locale aLocale)
Check if the passed locale is directly or by fallback contained.
|
ICommonsCollection<Locale> |
getAllLocales() |
ICommonsMap<Locale,String> |
getAllTexts() |
getAsHasDisplayTextWithArgs, getTextWithArgs, getTextWithArgsgetAsHasDisplayText, getComparatorCollating, getTextisEmpty, isNotEmpty, size@Nonnull @ReturnsMutableCopy ICommonsCollection<Locale> getAllLocales()
null.boolean containsLocale(@Nullable Locale aLocale)
aLocale - The locale to check. May be null.true if the locale is directly contained,
false if not.boolean containsLocaleWithFallback(@Nullable Locale aLocale)
aLocale - The locale to check. May be null.true if the locale is contained, false if
not.@Nonnull @ReturnsMutableCopy ICommonsMap<Locale,String> getAllTexts()
null
.Copyright © 2014–2017 Philip Helger. All rights reserved.