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, waitandThenandThenprotected final ScriptEngine engine
protected final String script
public void accept(Object a, Object b)
accept in interface BiConsumerpublic void accept(Object a, Object b, Object c)
TriConsumeraccept in interface TriConsumera - the first argument to the operationb - the second argument to the operationc - the third argument to the operationCopyright © 2013–2020 Apache Software Foundation. All rights reserved.