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
public static final class Languages.SomeLanguages extends Languages.LanguageSet
Some languages, explicitly enumerated.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(java.lang.String language)
java.lang.String
getAny()
java.util.Set<java.lang.String>
getLanguages()
boolean
isEmpty()
boolean
isSingleton()
Languages.LanguageSet
merge(Languages.LanguageSet other)
Languages.LanguageSet
restrictTo(Languages.LanguageSet other)
java.lang.String
toString()
-
Methods inherited from class org.apache.commons.codec.language.bm.Languages.LanguageSet
from
-
-
-
-
Method Detail
-
contains
public boolean contains(java.lang.String language)
- Specified by:
contains
in classLanguages.LanguageSet
-
getAny
public java.lang.String getAny()
- Specified by:
getAny
in classLanguages.LanguageSet
-
getLanguages
public java.util.Set<java.lang.String> getLanguages()
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in classLanguages.LanguageSet
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in classLanguages.LanguageSet
-
restrictTo
public Languages.LanguageSet restrictTo(Languages.LanguageSet other)
- Specified by:
restrictTo
in classLanguages.LanguageSet
-
merge
public Languages.LanguageSet merge(Languages.LanguageSet other)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-