|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.filter.DefaultExpression
org.geotools.filter.FunctionExpressionImpl
org.geotools.filter.MaxFunction
A function that returns the maximum of two arguments.
Field Summary |
Fields inherited from class org.geotools.filter.DefaultExpression |
expressionType, permissiveConstruction |
Fields inherited from interface org.geotools.filter.ExpressionType |
ATTRIBUTE, ATTRIBUTE_DOUBLE, ATTRIBUTE_GEOMETRY, ATTRIBUTE_INTEGER, ATTRIBUTE_STRING, ATTRIBUTE_UNDECLARED, FUNCTION, LITERAL_DOUBLE, LITERAL_GEOMETRY, LITERAL_INTEGER, LITERAL_STRING, MATH_ADD, MATH_DIVIDE, MATH_MULTIPLY, MATH_SUBTRACT |
Constructor Summary | |
MaxFunction()
Creates a new instance of MinFunction |
Method Summary | |
int |
getArgCount()
Gets the number of arguments that are set. |
Expression[] |
getArgs()
Gets the arguments to be evaluated by this function. |
java.lang.String |
getName()
Gets the name of this function. |
java.lang.Object |
getValue(Feature feature)
Returns a value for this expression. |
void |
setArgs(Expression[] args)
Sets the arguments to be evaluated by this function. |
java.lang.String |
toString()
Return this function as a string. |
Methods inherited from class org.geotools.filter.FunctionExpressionImpl |
accept, getImplementationHints, getType |
Methods inherited from class org.geotools.filter.DefaultExpression |
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.geotools.filter.FunctionExpression |
getType |
Methods inherited from interface org.geotools.filter.Expression |
accept |
Methods inherited from interface org.geotools.factory.Factory |
getImplementationHints |
Constructor Detail |
public MaxFunction()
Method Detail |
public java.lang.Object getValue(Feature feature)
getValue
in interface Expression
getValue
in class DefaultExpression
feature
- Specified feature to use when returning value.
public int getArgCount()
getArgCount
in interface FunctionExpression
getArgCount
in class FunctionExpressionImpl
public java.lang.String getName()
getName
in interface FunctionExpression
getName
in class FunctionExpressionImpl
public void setArgs(Expression[] args)
setArgs
in interface FunctionExpression
setArgs
in class FunctionExpressionImpl
args
- an array of expressions to be evaluated.public Expression[] getArgs()
getArgs
in interface FunctionExpression
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |