public static enum WorldClockProtocol.DayOfWeek extends java.lang.Enum<WorldClockProtocol.DayOfWeek>
io.netty.example.worldclock.DayOfWeek
枚举常量和说明 |
---|
FRIDAY
FRIDAY = 6; |
MONDAY
MONDAY = 2; |
SATURDAY
SATURDAY = 7; |
SUNDAY
SUNDAY = 1; |
THURSDAY
THURSDAY = 5; |
TUESDAY
TUESDAY = 3; |
WEDNESDAY
WEDNESDAY = 4; |
限定符和类型 | 字段和说明 |
---|---|
static int |
FRIDAY_VALUE
FRIDAY = 6; |
static int |
MONDAY_VALUE
MONDAY = 2; |
static int |
SATURDAY_VALUE
SATURDAY = 7; |
static int |
SUNDAY_VALUE
SUNDAY = 1; |
static int |
THURSDAY_VALUE
THURSDAY = 5; |
static int |
TUESDAY_VALUE
TUESDAY = 3; |
static int |
WEDNESDAY_VALUE
WEDNESDAY = 4; |
限定符和类型 | 方法和说明 |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static <any> |
internalGetValueMap() |
static WorldClockProtocol.DayOfWeek |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WorldClockProtocol.DayOfWeek |
valueOf(int value) |
static WorldClockProtocol.DayOfWeek |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static WorldClockProtocol.DayOfWeek[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final WorldClockProtocol.DayOfWeek SUNDAY
SUNDAY = 1;
public static final WorldClockProtocol.DayOfWeek MONDAY
MONDAY = 2;
public static final WorldClockProtocol.DayOfWeek TUESDAY
TUESDAY = 3;
public static final WorldClockProtocol.DayOfWeek WEDNESDAY
WEDNESDAY = 4;
public static final WorldClockProtocol.DayOfWeek THURSDAY
THURSDAY = 5;
public static final WorldClockProtocol.DayOfWeek FRIDAY
FRIDAY = 6;
public static final WorldClockProtocol.DayOfWeek SATURDAY
SATURDAY = 7;
public static final int SUNDAY_VALUE
SUNDAY = 1;
public static final int MONDAY_VALUE
MONDAY = 2;
public static final int TUESDAY_VALUE
TUESDAY = 3;
public static final int WEDNESDAY_VALUE
WEDNESDAY = 4;
public static final int THURSDAY_VALUE
THURSDAY = 5;
public static final int FRIDAY_VALUE
FRIDAY = 6;
public static final int SATURDAY_VALUE
SATURDAY = 7;
public static WorldClockProtocol.DayOfWeek[] values()
for (WorldClockProtocol.DayOfWeek c : WorldClockProtocol.DayOfWeek.values()) System.out.println(c);
public static WorldClockProtocol.DayOfWeek valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public final int getNumber()
public static WorldClockProtocol.DayOfWeek valueOf(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static WorldClockProtocol.DayOfWeek valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)