Package org.gvsig.raster.lib.buffer.api
Interface NoData
- All Superinterfaces:
Cloneable,org.gvsig.tools.lang.Cloneable,Comparable<NoData>
- Author:
- fdiaz
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the nodata value.voidCopy from noData parameterintGets the NoData data typeGets the default value.getValue()Gets the for nodata.booleanReturns true if getValue is defined and false if is nullvoidrestore()Restores default value.voidSets the value for NoData.Methods inherited from interface org.gvsig.tools.lang.Cloneable
cloneMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getValue
Number getValue()Gets the for nodata.- Returns:
- the noData
-
setValue
Sets the value for NoData.- Parameters:
value- the noData to set
-
isDefined
boolean isDefined()Returns true if getValue is defined and false if is null- Returns:
- true if getValue is defined and false if is null
-
clear
void clear()Clear the nodata value. -
restore
void restore()Restores default value. This value has to be assign when NoData object is initialize. -
getDefaultValue
Number getDefaultValue()Gets the default value. This value has to be assign when NoData object is initialize.- Returns:
- the noData
-
getDataType
int getDataType()Gets the NoData data type- Returns:
- the data type
-
copyFrom
Copy from noData parameter- Parameters:
noData-
-