Class 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 a GeorGrayscaleEntry object.
      GeorHistogramEntry​(double value, long count)
      Constructs a GeorHistogramEntry 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, 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