public static enum Inflected.Number extends java.lang.Enum<Inflected.Number>
Enum Constant and Description |
---|
PLURAL |
SINGULAR |
UNNUMBERED |
Modifier and Type | Method and Description |
---|---|
static Inflected.Number |
getEnum(java.lang.String str) |
java.lang.String |
toString() |
static Inflected.Number |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Inflected.Number[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Inflected.Number SINGULAR
public static final Inflected.Number PLURAL
public static final Inflected.Number UNNUMBERED
public static Inflected.Number[] values()
for (Inflected.Number c : Inflected.Number.values()) System.out.println(c);
public static Inflected.Number 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Inflected.Number>
public static Inflected.Number getEnum(java.lang.String str)
Copyright © 2013 Dassault Systèmes, All Rights Reserved.