Class LinkedInt

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

public final class LinkedInt extends Object
Represents an int value that can be modified.
Since:
1.2
  • Constructor Details

    • LinkedInt

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

    • set

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

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