public enum ControlByte extends Enum<ControlByte>
| Enum Constant and Description |
|---|
NON_EXISTING |
NOT_READ |
REMOVE_OP |
| Modifier and Type | Method and Description |
|---|---|
byte |
bit() |
boolean |
hasFlag(byte bitSet) |
static String |
prettyPrint(byte bitSet) |
byte |
set(byte bitSet)
Sets
this flag to the bitSet. |
static ControlByte |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlByte[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlByte NOT_READ
public static final ControlByte NON_EXISTING
public static final ControlByte REMOVE_OP
public static ControlByte[] values()
for (ControlByte c : ControlByte.values()) System.out.println(c);
public static ControlByte 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 String prettyPrint(byte bitSet)
public byte set(byte bitSet)
this flag to the bitSet.public boolean hasFlag(byte bitSet)
true if this flag is set in the bitSet, false otherwise.public byte bit()
this flag.Copyright © 2022 JBoss by Red Hat. All rights reserved.