public static enum INObject.ColorEnum extends Enum<INObject.ColorEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
INObject.ColorEnum.Adapter |
| Enum Constant and Description |
|---|
BLACK |
BLONDE |
BROWN |
GREY |
OTHER |
RED |
| Modifier and Type | Method and Description |
|---|---|
static INObject.ColorEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static INObject.ColorEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static INObject.ColorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final INObject.ColorEnum BLACK
public static final INObject.ColorEnum BROWN
public static final INObject.ColorEnum BLONDE
public static final INObject.ColorEnum GREY
public static final INObject.ColorEnum RED
public static final INObject.ColorEnum OTHER
public static INObject.ColorEnum[] values()
for (INObject.ColorEnum c : INObject.ColorEnum.values()) System.out.println(c);
public static INObject.ColorEnum 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 String getValue()
public String toString()
toString in class Enum<INObject.ColorEnum>public static INObject.ColorEnum fromValue(String value)
Copyright © 2010–2021 anotheria.net. All rights reserved.