public static enum ListValue.Semantic extends Enum<ListValue.Semantic>
Enum Constant and Description |
---|
ALL_OF |
EXACTLY_ONE_OF |
NONE_OF |
ONE_OR_MORE_OF |
ORDERED |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static ListValue.Semantic |
parse(io.netty.buffer.ByteBuf buffer,
int i) |
static ListValue.Semantic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListValue.Semantic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListValue.Semantic UNDEFINED
public static final ListValue.Semantic NONE_OF
public static final ListValue.Semantic EXACTLY_ONE_OF
public static final ListValue.Semantic ONE_OR_MORE_OF
public static final ListValue.Semantic ALL_OF
public static final ListValue.Semantic ORDERED
public static ListValue.Semantic[] values()
for (ListValue.Semantic c : ListValue.Semantic.values()) System.out.println(c);
public static ListValue.Semantic 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 ListValue.Semantic parse(io.netty.buffer.ByteBuf buffer, int i) throws InvalidPacketException
InvalidPacketException
Copyright © 2020. All rights reserved.