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 Longcount(int i)The count of values for the speciifed class.Set<Statistic>getStats()The statistics maintained for each class.Rangerange(int i)The value range for the specified class.intsize()Number of classes.Doublevalue(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:ClassificationStatsNumber of classes.- Specified by:
sizein interfaceClassificationStats
-
getStats
public Set<Statistic> getStats()
Description copied from interface:ClassificationStatsThe statistics maintained for each class.- Specified by:
getStatsin interfaceClassificationStats
-
range
public Range range(int i)
Description copied from interface:ClassificationStatsThe value range for the specified class.- Specified by:
rangein interfaceClassificationStats
-
value
public Double value(int i, Statistic stat)
Description copied from interface:ClassificationStatsThe stat value for the specified class and statistic type.- Specified by:
valuein interfaceClassificationStats
-
count
public Long count(int i)
Description copied from interface:ClassificationStatsThe count of values for the speciifed class.- Specified by:
countin interfaceClassificationStats
-
-