public static enum Enums.Size extends java.lang.Enum<Enums.Size>
Enum Constant and Description |
---|
LARGE
Large size.
|
MEDIUM
Medium size.
|
SMALL
Small size.
|
VERY_LARGE
Very large size.
|
VERY_SMALL
Very small size.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Enums.Size |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Enums.Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enums.Size VERY_SMALL
public static final Enums.Size SMALL
public static final Enums.Size MEDIUM
public static final Enums.Size LARGE
public static final Enums.Size VERY_LARGE
public static Enums.Size[] values()
for (Enums.Size c : Enums.Size.values()) System.out.println(c);
public static Enums.Size 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<Enums.Size>