Méthode | Description | |
---|---|---|
AstPluralRule ( int numPlurals, |
Initializes a new instance of the Token class with given NumPlurals and abstract syntax tree.
|
|
Evaluate ( long number ) : int |
Evaluates a number and returns a plural form index.
|
Méthode | Description | |
---|---|---|
Evaluate ( |
public AstPluralRule ( int numPlurals, |
||
numPlurals | int | |
astRoot | Abstract syntax tree root. | |
Résultat | System |
public Evaluate ( long number ) : int | ||
number | long | Number which needs to be evaluated. |
Résultat | int |
protected Evaluate ( |
||
node | ||
number | long | |
Résultat | long |