|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.in.ValueProcessor
public abstract class ValueProcessor
Provides support for processing primitive data values (i.e. checking their values, converting them, etc.).
Instances are immutable.
Field Summary | |
---|---|
protected static ValueProcessor |
trivialProcessor
The trivial processor (does nothing). |
Constructor Summary | |
---|---|
protected |
ValueProcessor()
Constructs from nothing. |
Method Summary | |
---|---|
abstract double |
process(double value)
Processes a double value. |
abstract double[] |
process(double[] values)
Processes double values. |
abstract float |
process(float value)
Processes a float value. |
abstract float[] |
process(float[] values)
Processes float values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final ValueProcessor trivialProcessor
Constructor Detail |
---|
protected ValueProcessor()
Method Detail |
---|
public abstract float process(float value)
value
- The value to be processed.
public abstract double process(double value)
value
- The value to be processed.
public abstract float[] process(float[] values)
values
- The values to be processed.
public abstract double[] process(double[] values)
values
- The values to be processed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |