public class DispatchFunction extends AbstractVariadicFunction
metadata
Constructor and Description |
---|
DispatchFunction(String name) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the function name
|
void |
install(LambdaFunction fn) |
AviatorObject |
variadicCall(Map<String,Object> env,
AviatorObject... args)
Call with variadic arguments.The subclass must implement this method.
|
call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, desc, getAviatorType, getValue, innerCompare, run
add, bitAnd, bitNot, bitOr, bitXor, booleanValue, compare, compareEq, defineValue, deref, div, exponent, getElement, getMetadata, isNull, match, meta, mod, mult, neg, not, numberValue, setValue, shiftLeft, shiftRight, stringValue, sub, toString, unsignedShiftRight, withMeta, withoutMeta
public DispatchFunction(String name)
public String getName()
AviatorFunction
public void install(LambdaFunction fn)
public AviatorObject variadicCall(Map<String,Object> env, AviatorObject... args)
AbstractVariadicFunction
variadicCall
in class AbstractVariadicFunction
Copyright © 2010–2021. All rights reserved.