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

public class ByteType extends GenericByteType<ByteType>
TODO
  • Field Details

  • Constructor Details

    • ByteType

      public ByteType(NativeImg<?, ? extends ByteAccess> img)
    • ByteType

      public ByteType(byte value)
    • ByteType

      public ByteType(ByteAccess access)
    • ByteType

      public ByteType()
  • Method Details

    • getNativeTypeFactory

      public NativeTypeFactory<ByteType, ByteAccess> getNativeTypeFactory()
      Specified by:
      getNativeTypeFactory in interface NativeType<ByteType>
      Specified by:
      getNativeTypeFactory in class GenericByteType<ByteType>
    • duplicateTypeOnSameNativeImg

      public ByteType 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
    • get

      public byte get()
    • set

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

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