public final class OffsetUnpacker extends ValueUnpacker
Instances are immutable.
trivialProcessor
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates if this instance is semantically identical to another object.
|
int |
hashCode()
Returns the hash code of this instance.
|
static OffsetUnpacker |
offsetUnpacker(double offset)
Returns an instance of this class corresponding to an offset value.
|
double |
process(double value)
Process a value.
|
double[] |
process(double[] values)
Process values.
|
float |
process(float value)
Process a value.
|
float[] |
process(float[] values)
Process values.
|
getIncrement, valueUnpacker
public static OffsetUnpacker offsetUnpacker(double offset)
offset
- The numeric offset to be added to each value
during processing.public float process(float value)
process
in class ValueProcessor
value
- The value to be processed.public double process(double value)
process
in class ValueProcessor
value
- The value to be processed.public float[] process(float[] values)
process
in class ValueProcessor
values
- The values to be processed.public double[] process(double[] values)
process
in class ValueProcessor
values
- The values to be processed.public boolean equals(Object obj)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.