Class DoublePointer

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

public class DoublePointer extends PrimitivePointer<Double>
  • Constructor Details

    • DoublePointer

      public DoublePointer()
    • DoublePointer

      public DoublePointer(double value)
  • Method Details

    • add

      public double add(double other)
    • decrement

      public double decrement()
    • div

      public double div(double other)
    • get

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

      public double getValue()
    • increment

      public double increment()
    • mod

      public double mod(double other)
    • mul

      public double mul(double other)
    • set

      public DoublePointer set(Double value)
      Specified by:
      set in class JavaPointer<Double>
    • setValue

      public void setValue(double value)
    • sub

      public double sub(double other)
    • toObjectPointer

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