Most visited

Recently visited

Added in API level 24

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

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

CARDINAL

Added in API level 24
PluralRules.PluralType CARDINAL

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

ORDINAL

Added in API level 24
PluralRules.PluralType ORDINAL

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

Public methods

valueOf

Added in API level 24
PluralRules.PluralType valueOf (String name)

Parameters
name String
Returns
PluralRules.PluralType

values

Added in API level 24
PluralType[] values ()

Returns
PluralType[]

Hooray!