|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.feature.visitor.AbstractCalcResult
org.geotools.feature.visitor.MinVisitor.MinResult
public static class MinVisitor.MinResult
Constructor Summary | |
---|---|
MinVisitor.MinResult(java.lang.Comparable newMinValue)
|
Method Summary | |
---|---|
java.lang.Object |
getValue()
Actual answer |
boolean |
isCompatible(CalcResult targetResults)
Returns true if the target results is a compatible type with the current results, with compatible meaning that the two results may be merged. |
CalcResult |
merge(CalcResult resultsToAdd)
Returns the merged results of two CalcResult. |
Methods inherited from class org.geotools.feature.visitor.AbstractCalcResult |
---|
toArray, toDouble, toEnvelope, toFloat, toGeometry, toInt, toList, toLong, toMap, toPoint, toSet, toString, toStringArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MinVisitor.MinResult(java.lang.Comparable newMinValue)
Method Detail |
---|
public java.lang.Object getValue()
CalcResult
getValue
in interface CalcResult
getValue
in class AbstractCalcResult
public boolean isCompatible(CalcResult targetResults)
CalcResult
isCompatible
in interface CalcResult
isCompatible
in class AbstractCalcResult
targetResults
- the second CalcResult Object
public CalcResult merge(CalcResult resultsToAdd)
CalcResult
For example: merging two min functions would return the smaller of the two values; merging a count and a sum would return an average.
merge
in interface CalcResult
merge
in class AbstractCalcResult
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |