public class LSPFunction
extends java.lang.Object
LSPFunctor for more information on how to create
external functions.LSPFunctor| Modifier and Type | Method and Description |
|---|---|
LSPValue |
asValue()
Gets the LSPFunction as LSPValue.
|
LSPValue |
call()
Calls the function with no argument.
|
LSPValue |
call(java.util.List<LSPValue> arguments)
Calls the function with the provided arguments.
|
LSPValue |
call(LSPValue... arguments)
Calls the function with the provided arguments.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDeclaredName()
Gets the name of the function.
|
int |
hashCode() |
public java.lang.String getDeclaredName()
public LSPValue call()
LSPValuepublic LSPValue call(LSPValue... arguments)
arguments - List of arguments.LSPValuepublic LSPValue call(java.util.List<LSPValue> arguments)
arguments - List of argumentsLSPValuepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object