Build 1.0_r1(from source)

android.content.res
Class PluralRule

java.lang.Object
  extended by android.content.res.PluralRule

abstract class PluralRule
extends Object


Field Summary
(package private) static int ID_OTHER
           
(package private) static int QUANTITY_FEW
           
(package private) static int QUANTITY_MANY
           
(package private) static int QUANTITY_ONE
           
(package private) static int QUANTITY_OTHER
           
(package private) static int QUANTITY_TWO
           
(package private) static int QUANTITY_ZERO
           
 
Constructor Summary
PluralRule()
           
 
Method Summary
(package private)  int attrForNumber(int n)
           
(package private) static int attrForQuantity(int quantity)
           
(package private) abstract  int quantityForNumber(int n)
           
(package private) static PluralRule ruleForLocale(Locale locale)
           
(package private) static String stringForQuantity(int quantity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUANTITY_OTHER

static final int QUANTITY_OTHER
See Also:
Constant Field Values

QUANTITY_ZERO

static final int QUANTITY_ZERO
See Also:
Constant Field Values

QUANTITY_ONE

static final int QUANTITY_ONE
See Also:
Constant Field Values

QUANTITY_TWO

static final int QUANTITY_TWO
See Also:
Constant Field Values

QUANTITY_FEW

static final int QUANTITY_FEW
See Also:
Constant Field Values

QUANTITY_MANY

static final int QUANTITY_MANY
See Also:
Constant Field Values

ID_OTHER

static final int ID_OTHER
See Also:
Constant Field Values
Constructor Detail

PluralRule

PluralRule()
Method Detail

quantityForNumber

abstract int quantityForNumber(int n)

attrForNumber

final int attrForNumber(int n)

attrForQuantity

static final int attrForQuantity(int quantity)

stringForQuantity

static final String stringForQuantity(int quantity)

ruleForLocale

static final PluralRule ruleForLocale(Locale locale)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature