public abstract static class Languages.LanguageSet extends Object
Constructor and Description |
---|
LanguageSet() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
contains(String language) |
static Languages.LanguageSet |
from(Set<String> langs) |
abstract String |
getAny() |
abstract boolean |
isEmpty() |
abstract boolean |
isSingleton() |
abstract Languages.LanguageSet |
restrictTo(Languages.LanguageSet other) |
public static Languages.LanguageSet from(Set<String> langs)
public abstract boolean contains(String language)
public abstract String getAny()
public abstract boolean isEmpty()
public abstract boolean isSingleton()
public abstract Languages.LanguageSet restrictTo(Languages.LanguageSet other)
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.