Package oracle.spatial.georaster
Class GeorHistogramEntry
- java.lang.Object
-
- oracle.spatial.georaster.GeorHistogramEntry
-
public class GeorHistogramEntry extends java.lang.Object
A 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 aGeorGrayscaleEntry
object.GeorHistogramEntry(double value, long count)
Constructs aGeorHistogramEntry
object with the given cell value and gray value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getCellValue()
Returns the cell value.long
getCount()
Returns the count value.void
setCount(long count)
Sets the count value.void
setValue(double value)
Sets the cell value.
-
-
-
Constructor Detail
-
GeorHistogramEntry
public GeorHistogramEntry()
Constructs aGeorGrayscaleEntry
object.
-
GeorHistogramEntry
public GeorHistogramEntry(double value, long count)
Constructs aGeorHistogramEntry
object 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
-
-