public enum BitWiseOpEnum extends Enum<BitWiseOpEnum>
Modifier and Type | Class and Description |
---|---|
static class |
BitWiseOpEnum.BAndBoolean
Bit Wise And.
|
static class |
BitWiseOpEnum.BAndByte
Bit Wise And.
|
static class |
BitWiseOpEnum.BAndInt
Bit Wise And.
|
static class |
BitWiseOpEnum.BAndLong
Bit Wise And.
|
static class |
BitWiseOpEnum.BAndShort
Bit Wise And.
|
static class |
BitWiseOpEnum.BOrBoolean
Bit Wise Or.
|
static class |
BitWiseOpEnum.BOrByte
Bit Wise Or.
|
static class |
BitWiseOpEnum.BOrInt
Bit Wise Or.
|
static class |
BitWiseOpEnum.BOrLong
Bit Wise Or.
|
static class |
BitWiseOpEnum.BOrShort
Bit Wise Or.
|
static class |
BitWiseOpEnum.BXorBoolean
Bit Wise Xor.
|
static class |
BitWiseOpEnum.BXorByte
Bit Wise Xor.
|
static class |
BitWiseOpEnum.BXorInt
Bit Wise Xor.
|
static class |
BitWiseOpEnum.BXorLong
Bit Wise Xor.
|
static class |
BitWiseOpEnum.BXorShort
Bit Wise Xor.
|
static interface |
BitWiseOpEnum.Computer
Computer for relational op.
|
Enum Constant and Description |
---|
BAND
Bitwise and.
|
BOR
Bitwise or.
|
BXOR
Bitwise xor.
|
Modifier and Type | Method and Description |
---|---|
String |
getComputeDescription()
Returns string rendering of enum.
|
BitWiseOpEnum.Computer |
getComputer(Class coercedType)
Returns number or boolean computation for the target coercion type.
|
String |
getExpressionText()
Returns the operator as an expression text.
|
static BitWiseOpEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BitWiseOpEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitWiseOpEnum BAND
public static final BitWiseOpEnum BOR
public static final BitWiseOpEnum BXOR
public static BitWiseOpEnum[] values()
for (BitWiseOpEnum c : BitWiseOpEnum.values()) System.out.println(c);
public static BitWiseOpEnum 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 String getExpressionText()
public BitWiseOpEnum.Computer getComputer(Class coercedType)
coercedType
- - target typepublic String getComputeDescription()