public class BetweenIE extends ExecutionPolicy
ExecutionPolicy.AndRule, ExecutionPolicy.LogicalRule, ExecutionPolicy.NotRule, ExecutionPolicy.OrRule, ExecutionPolicy.XorRule| Constructor and Description |
|---|
BetweenIE(String propertyName,
double a,
double b)
Define a comparison of type value between a and b with a included and b excluded.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(PropertiesCollection info)
Determines whether this policy accepts the specified node.
|
String |
toString()
Print this object to a string.
|
and, getProperty, not, or, xorpublic BetweenIE(String propertyName, double a, double b)
propertyName - the name of the property to compare.a - the lower bound.b - the upper bound.public boolean accepts(PropertiesCollection info)
accepts in class ExecutionPolicyinfo - system information for the node on which the tasks will run if accepted.Copyright © 2005-2012 JPPF Team.