public class RepeaterGeometryFunction extends Object implements GeometryFunction
Constructor and Description |
---|
RepeaterGeometryFunction(GeometryFunction fun,
int count) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
Gets the category name of this function
|
String |
getDescription()
Gets the description of this function
|
String |
getName()
Gets the name of this function
|
String[] |
getParameterNames()
Gets the parameter names for this function
|
Class[] |
getParameterTypes()
Gets the types of the other function arguments,
if any.
|
Class |
getReturnType()
Gets the return type of this function
|
String |
getSignature()
Gets a string representing the signature of this function.
|
Object |
invoke(Geometry geom,
Object[] args)
Invokes this function.
|
boolean |
isBinary() |
static boolean |
isRepeatable(GeometryFunction fun) |
static int |
repeatableArgIndex(GeometryFunction fun) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public RepeaterGeometryFunction(GeometryFunction fun, int count)
public String getCategory()
GeometryFunction
getCategory
in interface GeometryFunction
public String getName()
GeometryFunction
getName
in interface GeometryFunction
public String getDescription()
GeometryFunction
getDescription
in interface GeometryFunction
public String[] getParameterNames()
GeometryFunction
getParameterNames
in interface GeometryFunction
public Class[] getParameterTypes()
GeometryFunction
getParameterTypes
in interface GeometryFunction
public Class getReturnType()
GeometryFunction
getReturnType
in interface GeometryFunction
public String getSignature()
GeometryFunction
getSignature
in interface GeometryFunction
public boolean isBinary()
isBinary
in interface GeometryFunction
public Object invoke(Geometry geom, Object[] args)
GeometryFunction
RuntimeException
s.invoke
in interface GeometryFunction
geom
- the target geometryargs
- the other arguments to the functionpublic static boolean isRepeatable(GeometryFunction fun)
public static int repeatableArgIndex(GeometryFunction fun)
Copyright © 2024. All rights reserved.