org.apache.commons.codec.language.bm
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 Object
A set of languages.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Languages.LanguageSet
public Languages.LanguageSet()
from
public static Languages.LanguageSet from(Set<String> langs)
contains
public abstract boolean contains(String language)
getAny
public abstract String getAny()
isEmpty
public abstract boolean isEmpty()
isSingleton
public abstract boolean isSingleton()
restrictTo
public abstract Languages.LanguageSet restrictTo(Languages.LanguageSet other)
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.