|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.expr.BooleanExpression
@EditorTypes(value={BooleanExpression.Parsed.class,BooleanExpression.Constant.class,BooleanExpression.Reference.class,BooleanExpression.Not.class,BooleanExpression.And.class,BooleanExpression.Or.class,BooleanExpression.Xor.class,BooleanExpression.BooleanEquals.class,BooleanExpression.FloatLess.class,BooleanExpression.FloatGreater.class,BooleanExpression.FloatEquals.class,BooleanExpression.FloatLessEquals.class,BooleanExpression.FloatGreaterEquals.class,BooleanExpression.StringEquals.class})
public abstract class BooleanExpressionA boolean-valued expression.
| Nested Class Summary | |
|---|---|
static class |
BooleanExpression.And
Computes the logical AND of its operands. |
static class |
BooleanExpression.BinaryOperation
The superclass of the binary operations. |
static class |
BooleanExpression.BooleanEquals
Checks the equality of its operands. |
static class |
BooleanExpression.Constant
A constant expression. |
static class |
BooleanExpression.Evaluator
Performs the actual evaluation of the expression. |
static class |
BooleanExpression.FloatBinaryOperation
The superclass of the operations involving two float expressions. |
static class |
BooleanExpression.FloatEquals
Determines whether the first float is equal to the second. |
static class |
BooleanExpression.FloatGreater
Determines whether the first float is greater than the second. |
static class |
BooleanExpression.FloatGreaterEquals
Determines whether the first float is greater than or equal to the second. |
static class |
BooleanExpression.FloatLess
Determines whether the first float is less than the second. |
static class |
BooleanExpression.FloatLessEquals
Determines whether the first float is greater than or equal to the second. |
static class |
BooleanExpression.Not
Returns the logical NOT of the sub-expression. |
static class |
BooleanExpression.Or
Computes the logical OR of its operands. |
static class |
BooleanExpression.Parsed
An expression entered as a string to be parsed. |
static class |
BooleanExpression.Reference
A reference expression. |
static class |
BooleanExpression.StringEquals
Compares two strings for equality. |
static class |
BooleanExpression.Xor
Computes the logical XOR of its operands. |
| Constructor Summary | |
|---|---|
BooleanExpression()
|
|
| Method Summary | |
|---|---|
abstract BooleanExpression.Evaluator |
createEvaluator(Scope scope)
Creates an expression evaluator for the supplied context. |
void |
invalidate()
Invalidates any cached data. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanExpression()
| Method Detail |
|---|
public abstract BooleanExpression.Evaluator createEvaluator(Scope scope)
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||