Package org.geotools.process.raster
Class CoverageClassStats.Results
- Object
-
- Results
-
- All Implemented Interfaces:
ClassificationStats
- Enclosing class:
- CoverageClassStats
public static class CoverageClassStats.Results extends Object implements ClassificationStats
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
count(int i)
The count of values for the speciifed class.Set<Statistic>
getStats()
The statistics maintained for each class.Range
range(int i)
The value range for the specified class.int
size()
Number of classes.Double
value(int i, Statistic stat)
The stat value for the specified class and statistic type.
-
-
-
Constructor Detail
-
Results
public Results(Set<Statistic> stats, ZonalStats zonalStats)
-
-
Method Detail
-
size
public int size()
Description copied from interface:ClassificationStats
Number of classes.- Specified by:
size
in interfaceClassificationStats
-
getStats
public Set<Statistic> getStats()
Description copied from interface:ClassificationStats
The statistics maintained for each class.- Specified by:
getStats
in interfaceClassificationStats
-
range
public Range range(int i)
Description copied from interface:ClassificationStats
The value range for the specified class.- Specified by:
range
in interfaceClassificationStats
-
value
public Double value(int i, Statistic stat)
Description copied from interface:ClassificationStats
The stat value for the specified class and statistic type.- Specified by:
value
in interfaceClassificationStats
-
count
public Long count(int i)
Description copied from interface:ClassificationStats
The count of values for the speciifed class.- Specified by:
count
in interfaceClassificationStats
-
-