Class SeqNewArrayFunction
java.lang.Object
com.googlecode.aviator.runtime.type.AviatorObject
com.googlecode.aviator.runtime.function.AbstractVariadicFunction
com.googlecode.aviator.runtime.function.seq.SeqNewArrayFunction
- All Implemented Interfaces:
AviatorFunction, Serializable, Runnable, Callable<AviatorObject>
seq.array_of(class, len) function to create a new array of special type and size.
- Since:
- 4.2.4
- Author:
- dennis(killme2008@gmail.com)
- See Also:
-
Field Summary
Fields inherited from class AviatorObject
metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(Map<String, Object> env, AviatorObject arg1, AviatorObject arg2) call(Map<String, Object> env, AviatorObject arg1, AviatorObject arg2, AviatorObject arg3) call(Map<String, Object> env, AviatorObject arg1, AviatorObject arg2, AviatorObject arg3, AviatorObject arg4) getName()Get the function namevariadicCall(Map<String, Object> env, AviatorObject... args) Call with variadic arguments.The subclass must implement this method.Methods inherited from class AbstractVariadicFunction
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 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
-
Constructor Details
-
SeqNewArrayFunction
public SeqNewArrayFunction()
-
-
Method Details
-
getName
-
call
- Specified by:
callin interfaceAviatorFunction- Overrides:
callin classAbstractVariadicFunction
-
call
public AviatorObject call(Map<String, Object> env, AviatorObject arg1, AviatorObject arg2, AviatorObject arg3) - Specified by:
callin interfaceAviatorFunction- Overrides:
callin classAbstractVariadicFunction
-
call
public AviatorObject call(Map<String, Object> env, AviatorObject arg1, AviatorObject arg2, AviatorObject arg3, AviatorObject arg4) - Specified by:
callin interfaceAviatorFunction- Overrides:
callin classAbstractVariadicFunction
-
variadicCall
Description copied from class:AbstractVariadicFunctionCall with variadic arguments.The subclass must implement this method.- Specified by:
variadicCallin classAbstractVariadicFunction- Parameters:
env-args-- Returns:
-