Package oracle.spatial.georaster
Class GeorHistogramEntry
- java.lang.Object
-
- oracle.spatial.georaster.GeorHistogramEntry
-
public class GeorHistogramEntry extends java.lang.ObjectA GeoRaster grayscale entry, which contains two components: value and count. It is combined with class GeorHistogram to represent a GeoRaster histogram.Two constructors are provided: one is the default constructor without parameters, and the other constructor allows you to specify cell value and count value.
Methods in this class are provided for retrieving and setting the cell value and count.
-
-
Constructor Summary
Constructors Constructor Description GeorHistogramEntry()Constructs aGeorGrayscaleEntryobject.GeorHistogramEntry(double value, long count)Constructs aGeorHistogramEntryobject with the given cell value and gray value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetCellValue()Returns the cell value.longgetCount()Returns the count value.voidsetCount(long count)Sets the count value.voidsetValue(double value)Sets the cell value.
-
-
-
Constructor Detail
-
GeorHistogramEntry
public GeorHistogramEntry()
Constructs aGeorGrayscaleEntryobject.
-
GeorHistogramEntry
public GeorHistogramEntry(double value, long count)Constructs aGeorHistogramEntryobject with the given cell value and gray value.- Parameters:
value- cell valuecount- count value
-
-
Method Detail
-
getCellValue
public double getCellValue()
Returns the cell value.- Returns:
- cell value
-
setValue
public void setValue(double value)
Sets the cell value.- Parameters:
value- cell value
-
getCount
public long getCount()
Returns the count value.- Returns:
- count value
-
setCount
public void setCount(long count)
Sets the count value.- Parameters:
count- count value
-
-