public class DebugWaitFunction extends FunctionNode
GroupingExpression
. For each hit evaluated,
it waits for the time specified as the second argument. The third argument specifies if the wait
should be a busy-wait or not. The first argument is then evaluated.Constructor and Description |
---|
DebugWaitFunction(GroupingExpression arg1,
DoubleValue arg2,
BooleanValue arg3)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
DebugWaitFunction |
copy()
Returns a deep copy of this
|
boolean |
getBusyWait()
Returns whether or not the debug node should busy-wait.
|
double |
getWaitTime()
Returns the time to wait when evaluating this function.
|
args, asList, asList, asList, getArg, getNumArgs, iterator, resolveLevel, visit
asImage, asString, getLevel, getLevelOrNull, setLabel
getImage, getLabel, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public DebugWaitFunction(GroupingExpression arg1, DoubleValue arg2, BooleanValue arg3)
arg1
- The first compulsory argument, the expression to proxy.arg2
- The second compulsory argument, must evaluate to a positive number.arg3
- The third compulsory argument, specifying busy wait or not.public DebugWaitFunction copy()
GroupingExpression
copy
in class GroupingExpression
public double getWaitTime()
public boolean getBusyWait()
Copyright © 2018. All rights reserved.