public enum OcelotType extends Enum<OcelotType>
Enum Constant and Description |
---|
SIAMESE
Siamese
|
TABBY
Tabby
|
TUXEDO
Tuxedo
|
WILD
Wild
|
Modifier and Type | Method and Description |
---|---|
int |
asInt() |
static OcelotType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OcelotType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OcelotType WILD
public static final OcelotType TUXEDO
public static final OcelotType TABBY
public static final OcelotType SIAMESE
public static OcelotType[] values()
for (OcelotType c : OcelotType.values()) System.out.println(c);
public static OcelotType 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 nullpublic int asInt()
Copyright © 2016. All rights reserved.