public static enum TypedResult.ResultType extends Enum<TypedResult.ResultType>
Modifier and Type | Method and Description |
---|---|
static TypedResult.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypedResult.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypedResult.ResultType PAYLOAD
public static final TypedResult.ResultType EMPTY
public static final TypedResult.ResultType EOS
public static TypedResult.ResultType[] values()
for (TypedResult.ResultType c : TypedResult.ResultType.values()) System.out.println(c);
public static TypedResult.ResultType 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 nullCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.