|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.source.xbmc.expression.Value
org.stanwood.media.source.xbmc.expression.BooleanValue
public class BooleanValue
Used to store the value of a boolean value used by the expresion evalutor
Constructor Summary | |
---|---|
BooleanValue(ValueType type,
java.lang.Boolean value)
Used to create a instance of the class |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.stanwood.media.source.xbmc.expression.Value |
---|
addition, divide, getType, getValue, greater, greaterEquals, less, lessEquals, multiply, setType, setValue, subtract |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BooleanValue(ValueType type, java.lang.Boolean value)
type
- The type of the valuevalue
- The raw valueMethod Detail |
---|
public boolean booleanValue()
public java.lang.String toString()
toString
in class java.lang.Object
public Value not()
not
in class Value
public Value and(Value value)
and
in class Value
value
- The value to 'and' with
public Value or(Value value)
or
in class Value
value
- The value to 'or' with
public Value notequals(Value value)
!=
operation between this value and the value in the
parameter
notequals
in class Value
value
- The value to perform the operation with
public Value equals(Value value)
==
operation between this value and the value in the
parameter
equals
in class Value
value
- The value to perform the operation with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |