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

public class IntType extends GenericIntType<IntType>
TODO
  • Field Details

  • Constructor Details

    • IntType

      public IntType(NativeImg<?, ? extends IntAccess> img)
    • IntType

      public IntType(int value)
    • IntType

      public IntType(IntAccess access)
    • IntType

      public IntType()
  • Method Details

    • duplicateTypeOnSameNativeImg

      public IntType duplicateTypeOnSameNativeImg()
      Description copied from interface: NativeType
      Creates a new NativeType which stores in the same physical array. This is only used internally.
      Returns:
      a new NativeType instance working on the same NativeImg
    • getNativeTypeFactory

      public NativeTypeFactory<IntType, IntAccess> getNativeTypeFactory()
      Specified by:
      getNativeTypeFactory in interface NativeType<IntType>
      Specified by:
      getNativeTypeFactory in class GenericIntType<IntType>
    • get

      public int get()
    • set

      public void set(int b)
    • getInteger

      public int getInteger()
    • getIntegerLong

      public long getIntegerLong()
    • getBigInteger

      public BigInteger getBigInteger()
    • setInteger

      public void setInteger(int f)
    • setInteger

      public void setInteger(long f)
    • setBigInteger

      public void setBigInteger(BigInteger b)
    • getMaxValue

      public double getMaxValue()
    • getMinValue

      public double getMinValue()
    • createVariable

      public IntType createVariable()
      Description copied from interface: Type
      Creates a new Type variable which can only store one value.
      Returns:
      a new Type variable
    • copy

      public IntType copy()
      Description copied from interface: Type
      Creates a new Type variable that has the value of this Type
      Returns:
      a new Type variable