Class Languages.LanguageSet
- java.lang.Object
-
- org.apache.commons.codec.language.bm.Languages.LanguageSet
-
- Direct Known Subclasses:
Languages.SomeLanguages
- Enclosing class:
- Languages
public abstract static class Languages.LanguageSet extends java.lang.Object
A set of languages.
-
-
Constructor Summary
Constructors Constructor Description LanguageSet()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
contains(java.lang.String language)
static Languages.LanguageSet
from(java.util.Set<java.lang.String> langs)
abstract java.lang.String
getAny()
abstract boolean
isEmpty()
abstract boolean
isSingleton()
abstract Languages.LanguageSet
restrictTo(Languages.LanguageSet other)
-
-
-
Method Detail
-
from
public static Languages.LanguageSet from(java.util.Set<java.lang.String> langs)
-
contains
public abstract boolean contains(java.lang.String language)
-
getAny
public abstract java.lang.String getAny()
-
isEmpty
public abstract boolean isEmpty()
-
isSingleton
public abstract boolean isSingleton()
-
restrictTo
public abstract Languages.LanguageSet restrictTo(Languages.LanguageSet other)
-
-