Table of Contents

Class PluralRules

Namespace
Android.Icu.Text
Assembly
MASES.Netdroid.dll
public class PluralRules : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ISerializable
Inheritance
PluralRules
Implements
Extension Methods

Constructors

PluralRules(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public PluralRules(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DEFAULT

public static PluralRules DEFAULT { get; set; }

Property Value

PluralRules

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

KEYWORD_FEW

public static String KEYWORD_FEW { get; set; }

Property Value

String

KEYWORD_MANY

public static String KEYWORD_MANY { get; set; }

Property Value

String

KEYWORD_ONE

public static String KEYWORD_ONE { get; set; }

Property Value

String

KEYWORD_OTHER

public static String KEYWORD_OTHER { get; set; }

Property Value

String

KEYWORD_TWO

public static String KEYWORD_TWO { get; set; }

Property Value

String

KEYWORD_ZERO

public static String KEYWORD_ZERO { get; set; }

Property Value

String

NO_UNIQUE_VALUE

public static double NO_UNIQUE_VALUE { get; set; }

Property Value

double

Methods

CreateRules(String)

public static PluralRules CreateRules(String arg0)

Parameters

arg0 String

String

Returns

PluralRules

PluralRules

ForLocale(ULocale)

public static PluralRules ForLocale(ULocale arg0)

Parameters

arg0 ULocale

ULocale

Returns

PluralRules

PluralRules

ForLocale(ULocale, PluralType)

public static PluralRules ForLocale(ULocale arg0, PluralRules.PluralType arg1)

Parameters

arg0 ULocale

ULocale

arg1 PluralRules.PluralType

PluralRules.PluralType

Returns

PluralRules

PluralRules

ForLocale(Locale)

public static PluralRules ForLocale(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

PluralRules

PluralRules

ForLocale(Locale, PluralType)

public static PluralRules ForLocale(Locale arg0, PluralRules.PluralType arg1)

Parameters

arg0 Locale

Locale

arg1 PluralRules.PluralType

PluralRules.PluralType

Returns

PluralRules

PluralRules

GetAllKeywordValues(String)

public Collection<Double> GetAllKeywordValues(String arg0)

Parameters

arg0 String

String

Returns

Collection<Double>

Collection

GetKeywords()

public Set<String> GetKeywords()

Returns

Set<String>

Set

GetSamples(String)

public Collection<Double> GetSamples(String arg0)

Parameters

arg0 String

String

Returns

Collection<Double>

Collection

GetUniqueKeywordValue(String)

public double GetUniqueKeywordValue(String arg0)

Parameters

arg0 String

String

Returns

double

double

ParseDescription(String)

public static PluralRules ParseDescription(String arg0)

Parameters

arg0 String

String

Returns

PluralRules

PluralRules

Exceptions

ParseException

Select(FormattedNumber)

public String Select(FormattedNumber arg0)

Parameters

arg0 FormattedNumber

FormattedNumber

Returns

String

String

Select(FormattedNumberRange)

public String Select(FormattedNumberRange arg0)

Parameters

arg0 FormattedNumberRange

FormattedNumberRange

Returns

String

String

Select(double)

public String Select(double arg0)

Parameters

arg0 double

double

Returns

String

String