Class ShortType

All Implemented Interfaces:
Comparable<ShortType>, NativeType<ShortType>, ComplexType<ShortType>, IntegerType<ShortType>, NumericType<ShortType>, RealType<ShortType>, Add<ShortType>, Div<ShortType>, Mul<ShortType>, MulFloatingPoint, Pow<ShortType>, PowFloatingPoint, SetOne, SetZero, Sub<ShortType>, ValueEquals<ShortType>, Type<ShortType>
Direct Known Subclasses:
VolatileShortType.WrappedShortType

public class ShortType extends GenericShortType<ShortType>
TODO
  • Field Details

  • Constructor Details

    • ShortType

      public ShortType(NativeImg<?, ? extends ShortAccess> img)
    • ShortType

      public ShortType(short value)
    • ShortType

      public ShortType(ShortAccess access)
    • ShortType

      public ShortType()
  • Method Details

    • duplicateTypeOnSameNativeImg

      public ShortType 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<ShortType, ShortAccess> getNativeTypeFactory()
      Specified by:
      getNativeTypeFactory in interface NativeType<ShortType>
      Specified by:
      getNativeTypeFactory in class GenericShortType<ShortType>
    • get

      public short get()
    • set

      public void set(short 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 ShortType createVariable()
      Description copied from interface: Type
      Creates a new Type variable which can only store one value.
      Returns:
      a new Type variable
    • copy

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