Class LinkedShort
java.lang.Object
de.tomatengames.util.linked.LinkedShort
Represents a
short value that can be modified.- Since:
- 1.2
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LinkedShort
public LinkedShort(short initialValue) Creates a newLinkedShort.- 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.
-