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