public class StaticMethodGeometryFunction extends BaseGeometryFunction
GeometryFunction
which calls a static
Method
.category, description, name, parameterNames, parameterTypes, returnType
Constructor and Description |
---|
StaticMethodGeometryFunction(String name,
String description,
String[] parameterNames,
Class[] parameterTypes,
Class returnType,
Method method) |
Modifier and Type | Method and Description |
---|---|
static StaticMethodGeometryFunction |
createFunction(Method method) |
static String |
getClassname(Class javaClass) |
Object |
invoke(Geometry g,
Object[] arg)
Invokes this function.
|
static Object |
invoke(Method method,
Object target,
Object[] args) |
compareTo, equals, getCategory, getDescription, getDoubleOrNull, getIntegerOrNull, getName, getParameterNames, getParameterTypes, getReturnType, isBinary, isBinaryGeomFunction
public static StaticMethodGeometryFunction createFunction(Method method)
public Object invoke(Geometry g, Object[] arg)
GeometryFunction
RuntimeException
s.invoke
in interface GeometryFunction
invoke
in class BaseGeometryFunction
g
- the target geometryarg
- the other arguments to the functionCopyright © 2019. All rights reserved.