Package net.imglib2.type.numeric.integer
Class IntType
- java.lang.Object
-
- net.imglib2.type.numeric.complex.AbstractComplexType<T>
-
- net.imglib2.type.numeric.real.AbstractRealType<T>
-
- net.imglib2.type.numeric.integer.AbstractIntegerType<T>
-
- net.imglib2.type.numeric.integer.GenericIntType<IntType>
-
- net.imglib2.type.numeric.integer.IntType
-
- All Implemented Interfaces:
java.lang.Comparable<IntType>,NativeType<IntType>,ComplexType<IntType>,IntegerType<IntType>,NumericType<IntType>,RealType<IntType>,Add<IntType>,Div<IntType>,Mul<IntType>,MulFloatingPoint,Pow<IntType>,PowFloatingPoint,SetOne,SetZero,Sub<IntType>,ValueEquals<IntType>,Type<IntType>
- Direct Known Subclasses:
VolatileIntType.WrappedIntType
public class IntType extends GenericIntType<IntType>
TODO
-
-
Field Summary
Fields Modifier and Type Field Description private static NativeTypeFactory<IntType,IntAccess>typeFactory-
Fields inherited from class net.imglib2.type.numeric.integer.GenericIntType
dataAccess, i, img
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntTypecopy()IntTypecreateVariable()Creates a newTypevariable which can only store one value.IntTypeduplicateTypeOnSameNativeImg()Creates a newNativeTypewhich stores in the same physical array.intget()java.math.BigIntegergetBigInteger()intgetInteger()longgetIntegerLong()doublegetMaxValue()doublegetMinValue()NativeTypeFactory<IntType,IntAccess>getNativeTypeFactory()voidset(int b)voidsetBigInteger(java.math.BigInteger b)voidsetInteger(int f)voidsetInteger(long f)-
Methods inherited from class net.imglib2.type.numeric.integer.GenericIntType
add, compareTo, dec, div, equals, getBitsPerPixel, getEntitiesPerPixel, getInt, getValue, hashCode, inc, index, mul, mul, mul, pow, pow, set, setInt, setOne, setValue, setZero, sub, toString, updateContainer, valueEquals
-
Methods inherited from class net.imglib2.type.numeric.integer.AbstractIntegerType
getMinIncrement, getRealDouble, getRealFloat, setReal, setReal
-
Methods inherited from class net.imglib2.type.numeric.real.AbstractRealType
getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setImaginary, setImaginary
-
Methods inherited from class net.imglib2.type.numeric.complex.AbstractComplexType
complexConjugate, setComplexNumber, setComplexNumber
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.imglib2.type.numeric.ComplexType
complexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginary
-
Methods inherited from interface net.imglib2.type.NativeType
decIndex, decIndex, getIndex, incIndex, incIndex, updateIndex
-
-
-
-
Field Detail
-
typeFactory
private static final NativeTypeFactory<IntType,IntAccess> typeFactory
-
-
Method Detail
-
duplicateTypeOnSameNativeImg
public IntType duplicateTypeOnSameNativeImg()
Description copied from interface:NativeTypeCreates a newNativeTypewhich stores in the same physical array. This is only used internally.- Returns:
- a new
NativeTypeinstance working on the sameNativeImg
-
getNativeTypeFactory
public NativeTypeFactory<IntType,IntAccess> getNativeTypeFactory()
- Specified by:
getNativeTypeFactoryin interfaceNativeType<IntType>- Specified by:
getNativeTypeFactoryin classGenericIntType<IntType>
-
get
public int get()
-
set
public void set(int b)
-
getInteger
public int getInteger()
-
getIntegerLong
public long getIntegerLong()
-
getBigInteger
public java.math.BigInteger getBigInteger()
-
setInteger
public void setInteger(int f)
-
setInteger
public void setInteger(long f)
-
setBigInteger
public void setBigInteger(java.math.BigInteger b)
-
getMaxValue
public double getMaxValue()
-
getMinValue
public double getMinValue()
-
createVariable
public IntType createVariable()
Description copied from interface:TypeCreates a newTypevariable which can only store one value.- Returns:
- a new
Typevariable
-
-