Serializable
, Comparable<TropicalFish.Pattern>
public static enum TropicalFish.Pattern extends Enum<TropicalFish.Pattern>
Enum Constant | Description |
---|---|
BETTY |
|
BLOCKFISH |
|
BRINELY |
|
CLAYFISH |
|
DASHER |
|
FLOPPER |
|
GLITTER |
|
KOB |
|
SNOOPER |
|
SPOTTY |
|
STRIPEY |
|
SUNSTREAK |
Modifier and Type | Method | Description |
---|---|---|
static TropicalFish.Pattern |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TropicalFish.Pattern[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TropicalFish.Pattern KOB
public static final TropicalFish.Pattern SUNSTREAK
public static final TropicalFish.Pattern SNOOPER
public static final TropicalFish.Pattern DASHER
public static final TropicalFish.Pattern BRINELY
public static final TropicalFish.Pattern SPOTTY
public static final TropicalFish.Pattern FLOPPER
public static final TropicalFish.Pattern STRIPEY
public static final TropicalFish.Pattern GLITTER
public static final TropicalFish.Pattern BLOCKFISH
public static final TropicalFish.Pattern BETTY
public static final TropicalFish.Pattern CLAYFISH
public static TropicalFish.Pattern[] values()
for (TropicalFish.Pattern c : TropicalFish.Pattern.values()) System.out.println(c);
public static TropicalFish.Pattern 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 © 2019. All rights reserved.