public static enum ColorsEnumExtension.Color extends Enum<ColorsEnumExtension.Color>
Enum Constant and Description |
---|
Black |
Blue |
Brown |
Green |
Orange |
Purple |
Red |
White |
Yellow |
Modifier and Type | Method and Description |
---|---|
byte |
getByte() |
static ColorsEnumExtension.Color |
valueOf(byte b) |
static ColorsEnumExtension.Color |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorsEnumExtension.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorsEnumExtension.Color Red
public static final ColorsEnumExtension.Color Blue
public static final ColorsEnumExtension.Color Green
public static final ColorsEnumExtension.Color Yellow
public static final ColorsEnumExtension.Color Orange
public static final ColorsEnumExtension.Color Purple
public static final ColorsEnumExtension.Color Black
public static final ColorsEnumExtension.Color White
public static final ColorsEnumExtension.Color Brown
public static ColorsEnumExtension.Color[] values()
for (ColorsEnumExtension.Color c : ColorsEnumExtension.Color.values()) System.out.println(c);
public static ColorsEnumExtension.Color 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 static final ColorsEnumExtension.Color valueOf(byte b)
public byte getByte()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.