private static interface VariantSelector.DimensionChecker<T,U>
| Modifier and Type | Method and Description |
|---|---|
U |
getDimension(VariantSelector.VariantHolder v)
Get the dimension value from the variant.
|
int |
getQualitySource(VariantSelector.VariantHolder v,
U u)
Get the quality source of the dimension.
|
java.lang.String |
getVaryHeaderValue()
Get the value of the Vary header.
|
boolean |
isCompatible(T t,
U u)
Ascertain if the acceptable dimension value is compatible with
the dimension value.
|
U getDimension(VariantSelector.VariantHolder v)
v - the variant.int getQualitySource(VariantSelector.VariantHolder v, U u)
boolean isCompatible(T t, U u)
t - the acceptable dimension value.u - the dimension value.true if the acceptable dimension value is compatible with
the dimension value.java.lang.String getVaryHeaderValue()