public class RepeaterGeometryFunction extends java.lang.Object implements GeometryFunction
| Modifier and Type | Field and Description |
|---|---|
private int |
count |
private GeometryFunction |
fun |
| Constructor and Description |
|---|
RepeaterGeometryFunction(GeometryFunction fun,
int count) |
| Modifier and Type | Method and Description |
|---|---|
private java.lang.Object[] |
copyArgs(java.lang.Object[] args,
int replaceIndex,
double val) |
java.lang.String |
getCategory()
Gets the category name of this function
|
java.lang.String |
getDescription()
Gets the description of this function
|
java.lang.String |
getName()
Gets the name of this function
|
java.lang.String[] |
getParameterNames()
Gets the parameter names for this function
|
java.lang.Class[] |
getParameterTypes()
Gets the types of the other function arguments,
if any.
|
java.lang.Class |
getReturnType()
Gets the return type of this function
|
java.lang.String |
getSignature()
Gets a string representing the signature of this function.
|
java.lang.Object |
invoke(Geometry geom,
java.lang.Object[] args)
Invokes this function.
|
private java.lang.Object |
invokeRepeated(Geometry geom,
java.lang.Object[] args,
double argStart) |
boolean |
isBinary() |
static boolean |
isRepeatable(GeometryFunction fun) |
static int |
repeatableArgIndex(GeometryFunction fun) |
private java.lang.String |
repeatAnnotation() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsprivate GeometryFunction fun
private int count
public RepeaterGeometryFunction(GeometryFunction fun, int count)
public java.lang.String getCategory()
GeometryFunctiongetCategory in interface GeometryFunctionpublic java.lang.String getName()
GeometryFunctiongetName in interface GeometryFunctionpublic java.lang.String getDescription()
GeometryFunctiongetDescription in interface GeometryFunctionpublic java.lang.String[] getParameterNames()
GeometryFunctiongetParameterNames in interface GeometryFunctionpublic java.lang.Class[] getParameterTypes()
GeometryFunctiongetParameterTypes in interface GeometryFunctionpublic java.lang.Class getReturnType()
GeometryFunctiongetReturnType in interface GeometryFunctionpublic java.lang.String getSignature()
GeometryFunctiongetSignature in interface GeometryFunctionprivate java.lang.String repeatAnnotation()
public boolean isBinary()
isBinary in interface GeometryFunctionpublic java.lang.Object invoke(Geometry geom, java.lang.Object[] args)
GeometryFunctionRuntimeExceptions.invoke in interface GeometryFunctiongeom - the target geometryargs - the other arguments to the functionpublic static boolean isRepeatable(GeometryFunction fun)
public static int repeatableArgIndex(GeometryFunction fun)
private java.lang.Object invokeRepeated(Geometry geom, java.lang.Object[] args, double argStart)
private java.lang.Object[] copyArgs(java.lang.Object[] args,
int replaceIndex,
double val)