public static final class LanguageRange.One extends java.lang.Object implements LanguageRange, scala.Product, java.io.Serializable
LanguageRange.$times, LanguageRange.$times$, LanguageRange.One, LanguageRange.One$
Modifier and Type | Method and Description |
---|---|
Language |
language() |
boolean |
matches(Language l) |
java.lang.String |
primaryTag() |
float |
qValue() |
scala.collection.immutable.Seq<java.lang.String> |
subTags() |
LanguageRange.One |
withQValue(float qValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubTags, matches, render
value
toString
withQValue
public One(Language language, float qValue)
public Language language()
public float qValue()
qValue
in interface LanguageRange
public boolean matches(Language l)
public java.lang.String primaryTag()
primaryTag
in interface LanguageRange
public scala.collection.immutable.Seq<java.lang.String> subTags()
public LanguageRange.One withQValue(float qValue)
withQValue
in interface LanguageRange
withQValue
in interface WithQValue<LanguageRange>