PluralRules.PluralType


public static final enum PluralRules.PluralType
extends Enum<PluralRules.PluralType>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.PluralRules.PluralType>
     ↳ android.icu.text.PluralRules.PluralType


Type of plurals and PluralRules.

Summary

Enum values

PluralRules.PluralType  CARDINAL

Plural rules for cardinal numbers: 1 file vs. 

PluralRules.PluralType  ORDINAL

Plural rules for ordinal numbers: 1st file, 2nd file, 3rd file, 4th file, etc. 

Public methods

static PluralRules.PluralType valueOf(String name)
static final PluralType[] values()

Inherited methods

Enum values

CARDINAL

Added in API level 24
public static final PluralRules.PluralType CARDINAL

Plural rules for cardinal numbers: 1 file vs. 2 files.

ORDINAL

Added in API level 24
public static final PluralRules.PluralType ORDINAL

Plural rules for ordinal numbers: 1st file, 2nd file, 3rd file, 4th file, etc.

Public methods

valueOf

public static PluralRules.PluralType valueOf (String name)

Parameters
name String

Returns
PluralRules.PluralType

values

public static final PluralType[] values ()

Returns
PluralType[]