Example usage for com.google.gwt.i18n.client PluralRule interface-usage

List of usage examples for com.google.gwt.i18n.client PluralRule interface-usage

Introduction

In this page you can find the example usage for com.google.gwt.i18n.client PluralRule interface-usage.

Usage

From source file com.mattbertolini.hermes.CustomPluralRule.java

public class CustomPluralRule implements PluralRule {
    private static PluralForm[] rules = { new PluralForm("other", "Default plural form."),
            new PluralForm("one", "Singlar plural form."),
            new PluralForm("custom", "Custom plural form when number is 42.") };

    @Override

From source file com.mattbertolini.hermes.NoDefaultConstructorPluralRule.java

public class NoDefaultConstructorPluralRule implements PluralRule {

    public NoDefaultConstructorPluralRule(int n) {
        // Do nothing
    }