Klasse Freezable<T>
java.lang.Object
de.luckymcdev.foundryengine.common.util.Freezable<T>
- Typparameter:
T- the type of value.
A class which can handle a value which is freezable.
Very simple.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
Freezable
-
-
Methodendetails
-
frozen
public boolean frozen()Returns true if this value is frozen (immutable). -
freeze
public void freeze()Freezes this value, preventing further modifications. -
setValue
Sets the value if not frozen. -
value
Returns the current value.
-