Package net.imglib2.type.numeric.integer
Class ByteType
- All Implemented Interfaces:
Comparable<ByteType>,NativeType<ByteType>,ComplexType<ByteType>,IntegerType<ByteType>,NumericType<ByteType>,RealType<ByteType>,Add<ByteType>,Div<ByteType>,Mul<ByteType>,MulFloatingPoint,Pow<ByteType>,PowFloatingPoint,SetOne,SetZero,Sub<ByteType>,ValueEquals<ByteType>,Type<ByteType>
- Direct Known Subclasses:
VolatileByteType.WrappedByteType
TODO
-
Field Summary
FieldsFields inherited from class net.imglib2.type.numeric.integer.GenericByteType
dataAccess, i, img -
Constructor Summary
ConstructorsConstructorDescriptionByteType()ByteType(byte value) ByteType(ByteAccess access) ByteType(NativeImg<?, ? extends ByteAccess> img) -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a newTypevariable which can only store one value.Creates a newNativeTypewhich stores in the same physical array.byteget()intlongdoubledoublevoidset(byte b) voidvoidsetInteger(int f) voidsetInteger(long f) Methods inherited from class net.imglib2.type.numeric.integer.GenericByteType
add, compareTo, dec, div, equals, getBitsPerPixel, getByte, getEntitiesPerPixel, getValue, hashCode, inc, index, mul, mul, mul, set, setByte, setOne, setValue, setZero, sub, toString, updateContainer, valueEqualsMethods inherited from class net.imglib2.type.numeric.integer.AbstractIntegerType
getMinIncrement, getRealDouble, getRealFloat, setReal, setRealMethods inherited from class net.imglib2.type.numeric.real.AbstractRealType
getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, pow, pow, setImaginary, setImaginaryMethods inherited from class net.imglib2.type.numeric.complex.AbstractComplexType
complexConjugate, setComplexNumber, setComplexNumberMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.imglib2.type.numeric.ComplexType
complexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginaryMethods inherited from interface net.imglib2.type.NativeType
decIndex, decIndex, getIndex, incIndex, incIndex, updateIndexMethods inherited from interface net.imglib2.type.operators.PowFloatingPoint
pow
-
Field Details
-
typeFactory
-
-
Constructor Details
-
ByteType
-
ByteType
public ByteType(byte value) -
ByteType
-
ByteType
public ByteType()
-
-
Method Details
-
getNativeTypeFactory
- Specified by:
getNativeTypeFactoryin interfaceNativeType<ByteType>- Specified by:
getNativeTypeFactoryin classGenericByteType<ByteType>
-
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
-
get
public byte get() -
set
public void set(byte b) -
getInteger
public int getInteger() -
getIntegerLong
public long getIntegerLong() -
getBigInteger
-
setInteger
public void setInteger(int f) -
setInteger
public void setInteger(long f) -
setBigInteger
-
getMaxValue
public double getMaxValue() -
getMinValue
public double getMinValue() -
createVariable
Description copied from interface:TypeCreates a newTypevariable which can only store one value.- Returns:
- a new
Typevariable
-
copy
Description copied from interface:Type- Returns:
- a new
Typevariable
-