public enum Bits extends Enum<Bits>
| Enum Constant and Description |
|---|
B1
Represents b1.
|
B2
Represents b2.
|
B3
Represents b3.
|
| Modifier and Type | Method and Description |
|---|---|
int |
bits()
Returns the attribute bits.
|
static BitSet |
fromString(String valInString)
Returns the object of bits fromString input String bits.
|
static Bits |
of(int value)
Returns the object of bits for.
|
static Bits |
of(String value)
Returns the object of bits for.
|
static String |
toString(BitSet bits) |
static Bits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bits B1
public static final Bits B2
public static final Bits B3
public static Bits[] values()
for (Bits c : Bits.values()) System.out.println(c);
public static Bits 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 Bits of(int value)
value - value of bits forpublic static Bits of(String value)
value - value of bits forpublic int bits()
public static BitSet fromString(String valInString)
valInString - value of input StringCopyright © 2017. All rights reserved.