Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


oracle.spatial.georaster
Class GeorHistogramEntry

java.lang.Object
  extended by 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
GeorHistogramEntry()
          Constructs a GeorGrayscaleEntry object.
GeorHistogramEntry(double value, long count)
          Constructs a GeorHistogramEntry object with the given cell value and gray value.

 

Method Summary
 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.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

GeorHistogramEntry

public GeorHistogramEntry()
Constructs a GeorGrayscaleEntry object.

GeorHistogramEntry

public GeorHistogramEntry(double value,
                          long count)
Constructs a GeorHistogramEntry object with the given cell value and gray value.
Parameters:
value - cell value
count - 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

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


Copyright © 2007, 2011, Oracle and/or its affiliates. All Rights Reserved.