Class DefaultNoData

java.lang.Object
org.gvsig.raster.lib.buffer.impl.DefaultNoData
All Implemented Interfaces:
Cloneable, Comparable<org.gvsig.raster.lib.buffer.api.NoData>, org.gvsig.raster.lib.buffer.api.NoData, org.gvsig.tools.lang.Cloneable

public class DefaultNoData extends Object implements org.gvsig.raster.lib.buffer.api.NoData
Author:
fdiaz
  • Constructor Details

    • DefaultNoData

      public DefaultNoData(Number defaultValue)
      Parameters:
      defaultValue -
  • Method Details

    • setDefaultValue

      public void setDefaultValue(Number defaultValue)
      Sets the default value
      Parameters:
      defaultValue -
    • compareTo

      public int compareTo(org.gvsig.raster.lib.buffer.api.NoData o)
      Specified by:
      compareTo in interface Comparable<org.gvsig.raster.lib.buffer.api.NoData>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getValue

      public Number getValue()
      Specified by:
      getValue in interface org.gvsig.raster.lib.buffer.api.NoData
    • setValue

      public void setValue(Number value)
      Specified by:
      setValue in interface org.gvsig.raster.lib.buffer.api.NoData
    • isDefined

      public boolean isDefined()
      Specified by:
      isDefined in interface org.gvsig.raster.lib.buffer.api.NoData
    • clear

      public void clear()
      Specified by:
      clear in interface org.gvsig.raster.lib.buffer.api.NoData
    • restore

      public void restore()
      Specified by:
      restore in interface org.gvsig.raster.lib.buffer.api.NoData
    • getDefaultValue

      public Number getDefaultValue()
      Specified by:
      getDefaultValue in interface org.gvsig.raster.lib.buffer.api.NoData
    • getDataType

      public int getDataType()
      Specified by:
      getDataType in interface org.gvsig.raster.lib.buffer.api.NoData
    • copyFrom

      public void copyFrom(org.gvsig.raster.lib.buffer.api.NoData noData)
      Specified by:
      copyFrom in interface org.gvsig.raster.lib.buffer.api.NoData
    • clone

      public Object clone() throws CloneNotSupportedException
      Specified by:
      clone in interface org.gvsig.tools.lang.Cloneable
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException