Class ScriptEngineLambda
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.util.function.ScriptEngineLambda
 
- 
- All Implemented Interfaces:
- BiConsumer,- Consumer,- Function,- Predicate,- Supplier,- TriConsumer
 
 public final class ScriptEngineLambda extends Object implements Function, Supplier, Consumer, Predicate, BiConsumer, TriConsumer - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected ScriptEngineengineprotected Stringscript
 - 
Constructor SummaryConstructors Constructor Description ScriptEngineLambda(String engineName, String script)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Object a)voidaccept(Object a, Object b)voidaccept(Object a, Object b, Object c)Performs this operation on the given arguments.Objectapply(Object a)Objectget()booleantest(Object a)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.function.BiConsumerandThen
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.util.function.TriConsumerandThen
 
- 
 
- 
- 
- 
Field Detail- 
engineprotected final ScriptEngine engine 
 - 
scriptprotected final String script 
 
- 
 - 
Method Detail- 
acceptpublic void accept(Object a, Object b) - Specified by:
- acceptin interface- BiConsumer
 
 - 
acceptpublic void accept(Object a, Object b, Object c) Description copied from interface:TriConsumerPerforms this operation on the given arguments.- Specified by:
- acceptin interface- TriConsumer
- Parameters:
- a- the first argument to the operation
- b- the second argument to the operation
- c- the third argument to the operation
 
 
- 
 
-