public static enum ServiceHandshake.InitResult extends Enum<ServiceHandshake.InitResult>
| Modifier and Type | Method and Description |
|---|---|
static ServiceHandshake.InitResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceHandshake.InitResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceHandshake.InitResult FAIL
public static final ServiceHandshake.InitResult READ
public static final ServiceHandshake.InitResult DONE
public static final ServiceHandshake.InitResult REJECT
public static ServiceHandshake.InitResult[] values()
for (ServiceHandshake.InitResult c : ServiceHandshake.InitResult.values()) System.out.println(c);
public static ServiceHandshake.InitResult 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 © 2024. All rights reserved.