Class IntType
- All Implemented Interfaces:
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
TODO
-
Field Summary
FieldsFields inherited from class GenericIntType
dataAccess, i, img -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a newTypevariable which can only store one value.Creates a newNativeTypewhich stores in the same physical array.intget()intlongdoubledoublevoidset(int b) voidvoidsetInteger(int f) voidsetInteger(long f) Methods inherited from class 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, valueEqualsMethods inherited from class AbstractIntegerType
getMinIncrement, getRealDouble, getRealFloat, setReal, setRealMethods inherited from class AbstractRealType
getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, 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, updateIndex
-
Field Details
-
typeFactory
-
-
Constructor Details
-
IntType
-
IntType
public IntType(int value) -
IntType
-
IntType
public IntType()
-
-
Method Details
-
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
- 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
-
setInteger
public void setInteger(int f) -
setInteger
public void setInteger(long f) -
setBigInteger
-
getMaxValue
public double getMaxValue() -
getMinValue
public double getMinValue() -
createVariable
-
copy
-