public final class ScriptEngineLambda extends Object implements Function, Supplier, Consumer, Predicate, BiConsumer, TriConsumer
Modifier and Type | Field and Description |
---|---|
protected ScriptEngine |
engine |
protected String |
script |
Constructor and Description |
---|
ScriptEngineLambda(String engineName,
String script) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Object a) |
void |
accept(Object a,
Object b) |
void |
accept(Object a,
Object b,
Object c)
Performs this operation on the given arguments.
|
Object |
apply(Object a) |
Object |
get() |
boolean |
test(Object a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen
andThen
protected final ScriptEngine engine
protected final String script
public void accept(Object a, Object b)
accept
in interface BiConsumer
public void accept(Object a, Object b, Object c)
TriConsumer
accept
in interface TriConsumer
a
- the first argument to the operationb
- the second argument to the operationc
- the third argument to the operationCopyright © 2013–2018 Apache Software Foundation. All rights reserved.