@Deprecated public interface Selector
MessageFormatter.
Selectors are used to choose between different message variants,
similar to plural, selectordinal,
and select in MessageFormat.
| Modifier and Type | Method and Description |
|---|---|
List<String> |
matches(Object value,
List<String> keys,
Map<String,Object> variableOptions)
Deprecated.
This API is for technology preview only.
|
@Deprecated List<String> matches(Object value, List<String> keys, Map<String,Object> variableOptions)
For example an English plural matches would return true
for matches(1, "1"), matches(1, "one"), and matches(1, "*").
value - the value to select on.keys - the key to test for matching.variableOptions - options that are not know at build time.Copyright © 2016 Unicode, Inc. and others.