public class VncMultiFunction extends VncFunction
VncFunction.MetaBuilder| Modifier and Type | Field and Description |
|---|---|
static VncKeyword |
TYPE |
TYPE_FUNCTION, TYPE_MACRO| Constructor and Description |
|---|
VncMultiFunction(java.lang.String name,
IVncFunction discriminatorFn) |
| Modifier and Type | Method and Description |
|---|---|
VncMultiFunction |
addFn(VncVal dispatchVal,
VncFunction fn) |
VncVal |
apply(VncList params) |
java.util.List<VncKeyword> |
getAllSupertypes() |
VncVector |
getParams() |
VncKeyword |
getSupertype() |
VncKeyword |
getType() |
VncMultiFunction |
removeFn(VncVal dispatchVal) |
java.lang.String |
toString() |
TypeRank |
typeRank() |
VncMultiFunction |
withMeta(VncVal meta) |
applyOf, convertToJavaObject, createAnonymousFuncName, createAnonymousFuncName, getArgLists, getBody, getDoc, getExamples, getFixedArgsCount, getMeta, getNamespace, getQualifiedName, getSimpleName, hasVariadicArgs, isMacro, isPrivate, isRedefinable, meta, setMacro, setNamespacecompareTo, equals, getMetaVal, getMetaVal, getWrappingTypeDef, hashCode, isVncCollection, isVncList, isWrapped, toString, wrappublic static final VncKeyword TYPE
public VncMultiFunction(java.lang.String name,
IVncFunction discriminatorFn)
public VncMultiFunction withMeta(VncVal meta)
withMeta in class VncFunctionpublic VncKeyword getType()
getType in class VncFunctionpublic VncKeyword getSupertype()
getSupertype in class VncFunctionpublic java.util.List<VncKeyword> getAllSupertypes()
getAllSupertypes in class VncFunctionpublic VncMultiFunction addFn(VncVal dispatchVal, VncFunction fn)
public VncMultiFunction removeFn(VncVal dispatchVal)
public VncVector getParams()
getParams in class VncFunctionpublic VncVal apply(VncList params)
apply in interface IVncFunctionapply in class VncFunctionpublic TypeRank typeRank()
typeRank in class VncFunctionpublic java.lang.String toString()
toString in class VncFunction