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 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 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 AbstractIntegerType
getMinIncrement, getRealDouble, getRealFloat, setReal, setRealMethods inherited from class AbstractRealType
getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, pow, pow, setImaginary, setImaginaryMethods inherited from class AbstractComplexType
complexConjugate, setComplexNumber, setComplexNumberMethods inherited from interface ComplexType
complexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginaryMethods inherited from interface NativeType
decIndex, decIndex, getIndex, incIndex, incIndex, updateIndexMethods inherited from interface 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
-
copy
-