public class ScriptEngineLambda extends java.lang.Object implements java.util.function.Function, java.util.function.Supplier, java.util.function.Consumer, java.util.function.Predicate, java.util.function.BiConsumer, TriConsumer
| Modifier and Type | Field and Description |
|---|---|
protected javax.script.ScriptEngine |
engine |
protected java.lang.String |
script |
| Constructor and Description |
|---|
ScriptEngineLambda(java.lang.String engineName,
java.lang.String script) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(java.lang.Object a) |
void |
accept(java.lang.Object a,
java.lang.Object b) |
void |
accept(java.lang.Object a,
java.lang.Object b,
java.lang.Object c)
Performs this operation on the given arguments.
|
java.lang.Object |
apply(java.lang.Object a) |
java.lang.Object |
get() |
boolean |
test(java.lang.Object a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenprotected final javax.script.ScriptEngine engine
protected final java.lang.String script
public ScriptEngineLambda(java.lang.String engineName,
java.lang.String script)
public java.lang.Object apply(java.lang.Object a)
apply in interface java.util.function.Functionpublic java.lang.Object get()
get in interface java.util.function.Supplierpublic void accept(java.lang.Object a)
accept in interface java.util.function.Consumerpublic void accept(java.lang.Object a,
java.lang.Object b)
accept in interface java.util.function.BiConsumerpublic void accept(java.lang.Object a,
java.lang.Object b,
java.lang.Object c)
TriConsumeraccept in interface TriConsumera - the first argument to the operationb - the second argument to the operationc - the third argument to the operationpublic boolean test(java.lang.Object a)
test in interface java.util.function.PredicateCopyright © 2013-2015 TinkerPop. All Rights Reserved.