Package net.imglib2.type.volatiles
Class VolatileNumericType<T extends NumericType<T>>
- java.lang.Object
-
- net.imglib2.Volatile<N>
-
- net.imglib2.type.volatiles.AbstractVolatileNumericType<T,VolatileNumericType<T>>
-
- net.imglib2.type.volatiles.VolatileNumericType<T>
-
- All Implemented Interfaces:
NumericType<VolatileNumericType<T>>,Add<VolatileNumericType<T>>,Div<VolatileNumericType<T>>,Mul<VolatileNumericType<T>>,MulFloatingPoint,Pow<VolatileNumericType<T>>,PowFloatingPoint,SetOne,SetZero,Sub<VolatileNumericType<T>>,ValueEquals<VolatileNumericType<T>>,Type<VolatileNumericType<T>>
public class VolatileNumericType<T extends NumericType<T>> extends AbstractVolatileNumericType<T,VolatileNumericType<T>>
Something volatile that has a value and is either VALID or INVALID.
-
-
Constructor Summary
Constructors Constructor Description VolatileNumericType(T t)VolatileNumericType(T t, boolean valid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolatileNumericType<T>copy()VolatileNumericType<T>createVariable()Creates a newTypevariable which can only store one value.
-
-
-
Method Detail
-
createVariable
public VolatileNumericType<T> createVariable()
Description copied from interface:TypeCreates a newTypevariable which can only store one value.- Returns:
- a new
Typevariable
-
copy
public VolatileNumericType<T> copy()
Description copied from interface:Type- Returns:
- a new
Typevariable
-
-