| java.lang.Object org.geotools.feature.visitor.MaxVisitor
MaxVisitor | public class MaxVisitor implements FeatureCalc(Code) | | Calculates the maximum value of an attribute.
author: Cory Horner, Refractions Research Inc. since: 2.2.M2 |
getExpression | public Expression getExpression()(Code) | | |
getNaNCount | public int getNaNCount()(Code) | | the number of features which returned a NaN |
getNullCount | public int getNullCount()(Code) | | the number of features which returned a null |
reset | public void reset()(Code) | | |
setValue | public void setValue(Object result)(Code) | | Overwrites the result stored by the visitor. This should only be used by
optimizations which will tell the visitor the answer rather than
visiting all features.
For 'max', the value stored is of type 'Comparable'.
Parameters: result - |
visit | public void visit(Feature feature)(Code) | | Visitor function, which looks at each feature and finds the maximum.
Parameters: feature - the feature to be visited |
|
|