public abstract class AbstractFunction extends Object implements Function
GROUP_BOOLEAN, GROUP_DATETIME, GROUP_NUMERIC, GROUP_OGC, GROUP_STRING
Modifier | Constructor and Description |
---|---|
protected |
AbstractFunction(String group,
String name,
Range argc) |
protected |
AbstractFunction(String group,
String name,
Range argc,
String desription,
String template) |
protected |
AbstractFunction(String group,
String name,
Range argc,
String description,
String template,
String[] descriptionArgs) |
Modifier and Type | Method and Description |
---|---|
void |
addAlias(String name) |
List<String> |
alias() |
Range |
argc() |
String |
description() |
String[] |
descriptionArgs() |
protected double |
getDouble(Object[] args,
int n) |
protected Geometry |
getGeom(Object[] args,
int n) |
protected int |
getInt(Object[] args,
int n) |
protected long |
getLong(Object[] args,
int n) |
protected Point |
getPoint(Object[] args,
int n) |
protected String |
getStr(Object[] args,
int n) |
String |
group() |
boolean |
isOperator() |
String |
name() |
String |
template() |
protected AbstractFunction(String group, String name, Range argc, String description, String template, String[] descriptionArgs)
protected AbstractFunction(String group, String name, Range argc, String desription, String template)
public String description()
description
in interface Function
public String[] descriptionArgs()
descriptionArgs
in interface Function
public boolean isOperator()
isOperator
in interface Function
protected int getInt(Object[] args, int n)
protected long getLong(Object[] args, int n)
protected double getDouble(Object[] args, int n)