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