Class AbstractVolatileNumericType<N extends NumericType<N>, T extends AbstractVolatileNumericType<N,T>>
java.lang.Object
net.imglib2.Volatile<N>
net.imglib2.type.volatiles.AbstractVolatileNumericType<N,T>
- Type Parameters:
N- wrappedNumericType.T- type of derived concrete class.
- All Implemented Interfaces:
NumericType<T>, Add<T>, Div<T>, Mul<T>, MulFloatingPoint, Pow<T>, PowFloatingPoint, SetOne, SetZero, Sub<T>, ValueEquals<T>, Type<T>
- Direct Known Subclasses:
AbstractVolatileNativeNumericType, VolatileNumericType
public abstract class AbstractVolatileNumericType<N extends NumericType<N>, T extends AbstractVolatileNumericType<N,T>>
extends Volatile<N>
implements NumericType<T>
Abstract base class for
VolatileNumericTypes that wrap a
NumericType that is either VALID or INVALID.-
Constructor Details
-
AbstractVolatileNumericType
-
AbstractVolatileNumericType
-
-
Method Details
-
set
-
add
-
sub
-
mul
-
div
-
pow
-
pow
public void pow(double power) - Specified by:
powin interfacePowFloatingPoint
-
setZero
-
setOne
-
mul
public void mul(float c) - Specified by:
mulin interfaceMulFloatingPoint
-
mul
public void mul(double c) - Specified by:
mulin interfaceMulFloatingPoint
-
valueEquals
- Specified by:
valueEqualsin interfaceValueEquals<N extends NumericType<N>>
-
equals
-
hashCode
-