public class BooleanValue extends Value
Constructor and Description |
---|
BooleanValue(ValueType type,
java.lang.Boolean value)
Used to create a instance of the class
|
Modifier and Type | Method and Description |
---|---|
Value |
and(Value value)
Used to 'and' the parameter value from with value
|
boolean |
booleanValue()
Get the value as a boolean
|
Value |
equals(Value value)
Used to perform a
== operation between this value and the value in the
parameter |
Value |
not()
Used to perform a not operation on this value and return the result
|
Value |
notequals(Value value)
Used to perform a
!= operation between this value and the value in the
parameter |
Value |
or(Value value)
Used to 'or' the parameter value from with value
|
java.lang.String |
toString() |
public BooleanValue(ValueType type, java.lang.Boolean value)
type
- The type of the valuevalue
- The raw valuepublic boolean booleanValue()
public java.lang.String toString()
toString
in class java.lang.Object
public Value not()
public Value notequals(Value value)
!=
operation between this value and the value in the
parameter