public class ExpressionMask extends AbstractMask
Expressions are evaluated as true if they return a value
greater than 0.
| Constructor and Description |
|---|
ExpressionMask(Expression expression)
Create a new instance.
|
ExpressionMask(String expression)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(Vector vector)
Returns true if the criteria is met.
|
Mask2D |
toMask2D()
Get the 2D version of this mask if one exists.
|
public ExpressionMask(String expression) throws ExpressionException
expression - the expressionExpressionException - thrown if there is an error with the expressionpublic ExpressionMask(Expression expression)
expression - the expressionCopyright © 2010-2014. All Rights Reserved.