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.impl / src / main / java / org / gvsig / raster / lib / buffer / impl / statistics / StatisticalOperation.java @ 5482
History | View | Annotate | Download (650 Bytes)
1 |
package org.gvsig.raster.lib.buffer.impl.statistics; |
---|---|
2 |
|
3 |
import org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand; |
4 |
|
5 |
/**
|
6 |
* Defines a statistical operation
|
7 |
* @author dmartinezizquierdo
|
8 |
*
|
9 |
*/
|
10 |
public interface StatisticalOperation { |
11 |
|
12 |
/**
|
13 |
* Operations done before processing
|
14 |
*/
|
15 |
public void pre(); |
16 |
|
17 |
/**
|
18 |
* Operations done during processing
|
19 |
* @param value
|
20 |
*/
|
21 |
public void addValue(Number value); |
22 |
|
23 |
/**
|
24 |
* Operations done after processing
|
25 |
*/
|
26 |
public void post(); |
27 |
|
28 |
/**
|
29 |
* Gets the results after processing.
|
30 |
* @return Object statistical value
|
31 |
*/
|
32 |
public Object getResult(); |
33 |
|
34 |
} |