Class NewInstanceFunction
java.lang.Object
com.googlecode.aviator.runtime.type.AviatorObject
com.googlecode.aviator.runtime.function.AbstractVariadicFunction
com.googlecode.aviator.runtime.function.internal.NewInstanceFunction
- All Implemented Interfaces:
AviatorFunction,Serializable,Runnable,Callable<AviatorObject>
__new(Class, ...args) to create an instance of special class with arguments.
- Author:
- dennis(killme2008@gmail.com)
- See Also:
-
Field Summary
FieldsFields inherited from class com.googlecode.aviator.runtime.type.AviatorObject
metadata -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the function namevariadicCall(Map<String, Object> env, AviatorObject... args) Call with variadic arguments.The subclass must implement this method.Methods inherited from class com.googlecode.aviator.runtime.function.AbstractVariadicFunction
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, runMethods inherited from class com.googlecode.aviator.runtime.type.AviatorObject
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
-
Field Details
-
INSTANCE
-
-
Method Details
-
getName
Description copied from interface:AviatorFunctionGet the function name- Returns:
-
variadicCall
Description copied from class:AbstractVariadicFunctionCall with variadic arguments.The subclass must implement this method.- Specified by:
variadicCallin classAbstractVariadicFunction- Parameters:
env-args-- Returns:
-