public enum BitDirection extends Enum<BitDirection>
| Enum Constant and Description |
|---|
lsb
Least significant bit first
|
msb
Most significant bit first
|
| Modifier and Type | Method and Description |
|---|---|
static BitDirection |
newBitDirection(boolean reverse) |
static BitDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BitDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitDirection lsb
public static final BitDirection msb
public static BitDirection[] values()
for (BitDirection c : BitDirection.values()) System.out.println(c);
public static BitDirection 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 BitDirection newBitDirection(boolean reverse)
Copyright © 2019. All rights reserved.