Class LinkedShort

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

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

    • LinkedShort

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

    • set

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

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