public static enum Perception.AmountType extends Enum<Perception.AmountType>
| Enum Constant and Description |
|---|
PERCENTAGE
The PERCENTAGE.
|
PIXEL
The PIXEL.
|
| Modifier and Type | Method and Description |
|---|---|
static Perception.AmountType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Perception.AmountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Perception.AmountType PERCENTAGE
public static final Perception.AmountType PIXEL
public static Perception.AmountType[] values()
for (Perception.AmountType c : Perception.AmountType.values()) System.out.println(c);
public static Perception.AmountType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 JBoss by Red Hat. All rights reserved.