Class Languages.SomeLanguages
java.lang.Object
org.apache.commons.codec.language.bm.Languages.LanguageSet
org.apache.commons.codec.language.bm.Languages.SomeLanguages
- Enclosing class:
Languages
Some languages, explicitly enumerated.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests whether this instance contains the given value.getAny()Gets any of this instance's element.Gets the language stringsbooleanisEmpty()Tests whether this instance is empty.booleanTests whether this instance contains a single element.merge(Languages.LanguageSet other) restrictTo(Languages.LanguageSet other) Returns an instance restricted to this instances and the given values'.toString()Methods inherited from class org.apache.commons.codec.language.bm.Languages.LanguageSet
from
-
Method Details
-
contains
Description copied from class:Languages.LanguageSetTests whether this instance contains the given value.- Specified by:
containsin classLanguages.LanguageSet- Parameters:
language- the value to test.- Returns:
- whether this instance contains the given value.
-
getAny
Description copied from class:Languages.LanguageSetGets any of this instance's element.- Specified by:
getAnyin classLanguages.LanguageSet- Returns:
- any of this instance's element.
-
getLanguages
Gets the language strings- Returns:
- the languages strings.
-
isEmpty
Description copied from class:Languages.LanguageSetTests whether this instance is empty.- Specified by:
isEmptyin classLanguages.LanguageSet- Returns:
- whether this instance is empty.
-
isSingleton
Description copied from class:Languages.LanguageSetTests whether this instance contains a single element.- Specified by:
isSingletonin classLanguages.LanguageSet- Returns:
- whether this instance contains a single element.
-
merge
-
restrictTo
Description copied from class:Languages.LanguageSetReturns an instance restricted to this instances and the given values'.- Specified by:
restrictToin classLanguages.LanguageSet- Parameters:
other- The other instance.- Returns:
- an instance restricted to this instances and the given values'.
-
toString
-