public static enum PluralsDatabase.Quantity extends java.lang.Enum<PluralsDatabase.Quantity>
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatSet(java.util.EnumSet<PluralsDatabase.Quantity> set) |
static PluralsDatabase.Quantity |
get(java.lang.String name) |
static PluralsDatabase.Quantity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PluralsDatabase.Quantity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluralsDatabase.Quantity few
public static final PluralsDatabase.Quantity many
public static final PluralsDatabase.Quantity one
public static final PluralsDatabase.Quantity two
public static final PluralsDatabase.Quantity zero
public static final PluralsDatabase.Quantity other
public static PluralsDatabase.Quantity[] values()
for (PluralsDatabase.Quantity c : PluralsDatabase.Quantity.values()) System.out.println(c);
public static PluralsDatabase.Quantity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nullable public static PluralsDatabase.Quantity get(@NonNull java.lang.String name)
public static java.lang.String formatSet(@NonNull java.util.EnumSet<PluralsDatabase.Quantity> set)