public enum HandshakeState extends Enum<HandshakeState>
Enum Constant and Description |
---|
MATCHED
Handshake matched this Draft successfully
|
NOT_MATCHED
Handshake is does not match this Draft
|
Modifier and Type | Method and Description |
---|---|
static HandshakeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandshakeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandshakeState MATCHED
public static final HandshakeState NOT_MATCHED
public static HandshakeState[] values()
for (HandshakeState c : HandshakeState.values()) System.out.println(c);
public static HandshakeState 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 © 2022. All rights reserved.