Class ShortPointer

All Implemented Interfaces:
Consumer<Short>, Supplier<Short>

public class ShortPointer extends PrimitivePointer<Short>
  • Constructor Details

    • ShortPointer

      public ShortPointer()
    • ShortPointer

      public ShortPointer(short value)
  • Method Details

    • add

      public short add(short other)
    • decrement

      public short decrement()
    • div

      public short div(short other)
    • get

      public Short get()
      Specified by:
      get in interface Supplier<Short>
      Specified by:
      get in class JavaPointer<Short>
    • getValue

      public short getValue()
    • increment

      public short increment()
    • mod

      public short mod(short other)
    • mul

      public short mul(short other)
    • set

      public ShortPointer set(Short value)
      Specified by:
      set in class JavaPointer<Short>
    • setValue

      public void setValue(short value)
    • sub

      public short sub(short other)
    • toObjectPointer

      public ObjectPointer<Short> toObjectPointer()
      Specified by:
      toObjectPointer in class PrimitivePointer<Short>