Class GridCoverageBuilder.Variable

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Variable​(CharSequence name, Unit<?> units)
      Creates a new variable of the given name and units.
    • Method Detail

      • addNodataValue

        public void addNodataValue​(CharSequence name,
                                   int value)
                            throws IllegalArgumentException
        Adds a "nodata" value.
        Parameters:
        name - The name for the "nodata" value.
        value - The pixel value to assign to "nodata".
        Throws:
        IllegalArgumentException - if the given pixel value is already assigned.
      • toString

        public String toString()
        Returns a string representation of this variable.
        Overrides:
        toString in class Object