public enum Value extends Enum<Value> implements PEnumValue<Value>
| Modifier and Type | Class and Description |
|---|---|
static class |
Value._Builder |
| Enum Constant and Description |
|---|
EIGHTEENTH |
EIGHTH |
ELEVENTH |
FIFTEENTH |
FIFTH |
FIRST |
FOURTEENTH |
FOURTH |
NINTEENTH |
NINTH |
SECOND |
SEVENTEENTH |
SEVENTH |
SIXTEENTH |
SIXTH |
TENTH |
THIRD |
THIRTEENTH |
TWELWETH |
TWENTIETH |
| Modifier and Type | Field and Description |
|---|---|
static PEnumDescriptor<Value> |
kDescriptor |
| Modifier and Type | Method and Description |
|---|---|
PEnumDescriptor<Value> |
descriptor() |
static Value |
forName(String name) |
static Value |
forValue(int value) |
String |
getComment() |
String |
getName() |
int |
getValue() |
static PEnumDescriptorProvider<Value> |
provider() |
static Value |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcompareTopublic static final Value FIRST
public static final Value SECOND
public static final Value THIRD
public static final Value FOURTH
public static final Value FIFTH
public static final Value SIXTH
public static final Value SEVENTH
public static final Value EIGHTH
public static final Value NINTH
public static final Value TENTH
public static final Value ELEVENTH
public static final Value TWELWETH
public static final Value THIRTEENTH
public static final Value FOURTEENTH
public static final Value FIFTEENTH
public static final Value SIXTEENTH
public static final Value SEVENTEENTH
public static final Value EIGHTEENTH
public static final Value NINTEENTH
public static final Value TWENTIETH
public static final PEnumDescriptor<Value> kDescriptor
public static Value[] values()
for (Value c : Value.values()) System.out.println(c);
public static Value 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 getComment()
getComment in interface PEnumValue<Value>public int getValue()
getValue in interface PEnumValue<Value>public String getName()
getName in interface PEnumValue<Value>public static Value forValue(int value)
public PEnumDescriptor<Value> descriptor()
descriptor in interface PValue<Value>public static PEnumDescriptorProvider<Value> provider()
Copyright © 2016. All rights reserved.