Class LinkedLong

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

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

    • LinkedLong

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

    • set

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

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