Revision 5447
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 | ||
---|---|---|
32 | 32 |
public interface NoData extends Cloneable, Comparable<NoData>{ |
33 | 33 |
|
34 | 34 |
/** |
35 |
* Gets a unique value for nodata. It doesn't take into account if the raster has
|
|
36 |
* several bands. Returns the same value for all of them.
|
|
35 |
* Gets the for nodata.
|
|
36 |
* |
|
37 | 37 |
* @return the noData |
38 | 38 |
*/ |
39 | 39 |
public Number getValue(); |
40 | 40 |
|
41 | 41 |
/** |
42 |
* Sets a unique value for nodata. It doesn't take into account if the raster has
|
|
43 |
* several bands. Assigns the same value for all of them.
|
|
42 |
* Sets the value for nodata.
|
|
43 |
* |
|
44 | 44 |
* @param noData the noData to set |
45 | 45 |
*/ |
46 | 46 |
public void setValue(Number noData); |
... | ... | |
72 | 72 |
public Number getDefaultValue(); |
73 | 73 |
|
74 | 74 |
//FIXME: to SPI |
75 |
|
|
76 |
|
|
77 | 75 |
// /** |
78 |
// * The native is the original value
|
|
76 |
// * The default is the original value
|
|
79 | 77 |
// * saved in the head of the file or its metadata. This value |
80 | 78 |
// * has to be assign when NoData object is initialize. |
81 | 79 |
// * @param nativeNoDataValue |
... | ... | |
88 | 86 |
*/ |
89 | 87 |
public int getDataType(); |
90 | 88 |
|
91 |
/** |
|
92 |
* |
|
93 |
* @param obj |
|
94 |
* @return |
|
95 |
*/ |
|
96 | 89 |
@Override |
97 | 90 |
public boolean equals(Object obj); |
98 | 91 |
|
Also available in: Unified diff