public abstract class Number extends java.lang.Object implements Selector
| Modifier and Type | Class and Description |
|---|---|
static class |
Number.Category |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.logging.Logger |
logger |
| Constructor and Description |
|---|
Number() |
| Modifier and Type | Method and Description |
|---|---|
abstract Number.Category |
getCategory(double selector)
Return the category the selector value belongs to.
|
java.lang.String |
getKey(double selector)
Return the key of the rule this selector matches.
|
java.lang.String |
getKey(java.lang.String selector,
java.lang.String template)
Transform the given string selector into a replacement key for
a choice format.
|
public abstract Number.Category getCategory(double selector)
selector - a double valueCategory valuepublic java.lang.String getKey(java.lang.String selector,
java.lang.String template)
public java.lang.String getKey(double selector)
selector - a double valueString value