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
,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.- Author:
- Stephan Saalfeld
-
-
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 newType
variable which can only store one value.
-
-
-
Method Detail
-
createVariable
public VolatileNumericType<T> createVariable()
Description copied from interface:Type
Creates a newType
variable which can only store one value.- Returns:
- a new
Type
variable
-
copy
public VolatileNumericType<T> copy()
Description copied from interface:Type
- Returns:
- a new
Type
variable
-
-