gvsig-raster / org.gvsig.raster / branches / org.gvsig.raster.2.4 / org.gvsig.raster / org.gvsig.raster.lib / org.gvsig.raster.lib.buffer / org.gvsig.raster.lib.buffer.api / src / main / java / org / gvsig / raster / lib / buffer / api / NoData.java @ 5483
History | View | Annotate | Download (2.13 KB)
1 |
/* gvSIG. Desktop Geographic Information System.
|
---|---|
2 |
*
|
3 |
* Copyright ? 2007-2016 gvSIG Association
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
18 |
* MA 02110-1301, USA.
|
19 |
*
|
20 |
* For any additional information, do not hesitate to contact us
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
22 |
*/
|
23 |
package org.gvsig.raster.lib.buffer.api; |
24 |
|
25 |
import org.gvsig.tools.lang.Cloneable; |
26 |
|
27 |
|
28 |
/**
|
29 |
* @author fdiaz
|
30 |
*
|
31 |
*/
|
32 |
public interface NoData extends Cloneable, Comparable<NoData>{ |
33 |
|
34 |
/**
|
35 |
* Gets the for nodata.
|
36 |
*
|
37 |
* @return the noData
|
38 |
*/
|
39 |
public Number getValue(); |
40 |
|
41 |
/**
|
42 |
* Sets the value for NoData.
|
43 |
*
|
44 |
* @param value the noData to set
|
45 |
*/
|
46 |
public void setValue(Number value); |
47 |
|
48 |
/**
|
49 |
* Returns true if getValue is defined and false if is null
|
50 |
* @return true if getValue is defined and false if is null
|
51 |
*/
|
52 |
public boolean isDefined(); |
53 |
|
54 |
/**
|
55 |
* Clear the nodata value.
|
56 |
*/
|
57 |
public void clear(); |
58 |
|
59 |
/**
|
60 |
* Restores default value. This value
|
61 |
* has to be assign when NoData object is initialize.
|
62 |
*/
|
63 |
public void restore(); |
64 |
|
65 |
/**
|
66 |
* Gets the default value. This value
|
67 |
* has to be assign when NoData object is initialize.
|
68 |
* @return the noData
|
69 |
*/
|
70 |
public Number getDefaultValue(); |
71 |
|
72 |
/**
|
73 |
* Gets the NoData data type
|
74 |
* @return the data type
|
75 |
*/
|
76 |
public int getDataType(); |
77 |
|
78 |
/**
|
79 |
* Copy from noData parameter
|
80 |
*
|
81 |
* @param noData
|
82 |
*/
|
83 |
public void copyFrom(NoData noData); |
84 |
|
85 |
} |