public class AndFunction extends FunctionNode
GroupingExpression
. It evaluates to a long that equals the result
of and'ing the results of all arguments together in the order they were given to the constructor.Modifier | Constructor and Description |
---|---|
|
AndFunction(GroupingExpression arg1,
GroupingExpression arg2,
GroupingExpression... argN)
Constructs a new instance of this class.
|
private |
AndFunction(List<GroupingExpression> args) |
Modifier and Type | Method and Description |
---|---|
static AndFunction |
newInstance(List<GroupingExpression> args)
Constructs a new instance of this class from a list of arguments.
|
asList, asList, asList, getArg, getNumArgs, iterator, resolveLevel, visit
asImage, asString, getLevel, setLabel
getLabel, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public AndFunction(GroupingExpression arg1, GroupingExpression arg2, GroupingExpression... argN)
arg1
- The first compulsory argument, must evaluate to a long.arg2
- The second compulsory argument, must evaluate to a long.argN
- The optional arguments, must evaluate to a long.private AndFunction(List<GroupingExpression> args)
public static AndFunction newInstance(List<GroupingExpression> args)
args
- The arguments to pass to the constructor.IllegalArgumentException
- Thrown if the number of arguments is less than 2.Copyright © 2017. All rights reserved.