java.io.Serializable, java.lang.Comparable<Parrot.Variant>public static enum Parrot.Variant extends java.lang.Enum<Parrot.Variant>
| Enum Constant | Description | 
|---|---|
| BLUE | Royal blue colored parrot. | 
| CYAN | Cyan colored parrot. | 
| GRAY | Gray colored parrot. | 
| GREEN | Green colored parrot. | 
| RED | Classic parrot - red with colored wingtips. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static Parrot.Variant | valueOf(java.lang.String name) | Returns the enum constant of this type with the specified name. | 
| static Parrot.Variant[] | values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Parrot.Variant RED
public static final Parrot.Variant BLUE
public static final Parrot.Variant GREEN
public static final Parrot.Variant CYAN
public static final Parrot.Variant GRAY
public static Parrot.Variant[] values()
for (Parrot.Variant c : Parrot.Variant.values()) System.out.println(c);
public static Parrot.Variant 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 nullCopyright © 2018. All rights reserved.