N
- wrapped NumericType
.T
- type of derived concrete class.public abstract class AbstractVolatileNumericType<N extends NumericType<N>,T extends AbstractVolatileNumericType<N,T>> extends Volatile<N> implements NumericType<T>
VolatileNumericType
s that wrap a
NumericType
that is either VALID or INVALID.Constructor and Description |
---|
AbstractVolatileNumericType(N t) |
AbstractVolatileNumericType(N t,
boolean valid) |
Modifier and Type | Method and Description |
---|---|
void |
add(T c) |
void |
div(T c) |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
mul(double c) |
void |
mul(float c) |
void |
mul(T c) |
void |
pow(double power) |
void |
pow(T c) |
void |
set(T c)
Sets the value of another
Type . |
void |
setOne() |
void |
setZero() |
void |
sub(T c) |
boolean |
valueEquals(T other) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
copy, createVariable
public AbstractVolatileNumericType(N t, boolean valid)
public AbstractVolatileNumericType(N t)
public void add(T c)
public void sub(T c)
public void mul(T c)
public void div(T c)
public void pow(T c)
public void pow(double power)
pow
in interface PowFloatingPoint
public void mul(float c)
mul
in interface MulFloatingPoint
public void mul(double c)
mul
in interface MulFloatingPoint
public boolean valueEquals(T other)
valueEquals
in interface ValueEquals<T extends AbstractVolatileNumericType<N,T>>
Copyright © 2015–2022 ImgLib2. All rights reserved.