Class LinkedDouble

java.lang.Object
de.tomatengames.util.linked.LinkedDouble

public final class LinkedDouble extends Object
Represents a double value that can be modified.
Since:
1.2
  • Constructor Details

    • LinkedDouble

      public LinkedDouble(double initialValue)
      Creates a new LinkedDouble.
      Parameters:
      initialValue - The initial value of this object.
  • Method Details

    • set

      public final void set(double value)
      Sets the value of this object.
      Parameters:
      value - The new value.
    • get

      public final double get()
      Returns the value of this object.
      Returns:
      The value.