Class Reference<T>
java.lang.Object
dev.engine.core.versioned.Reference<T>
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the cached value from the lastupdate()call.Creates a new independent reference to the same Versioned container.voidWrites a value back through to the underlying Versioned container.booleanupdate()Returns true if the value changed since the last call to update().
-
Method Details
-
update
public boolean update()Returns true if the value changed since the last call to update(). Caches the current value internally. -
getValue
-
set
Writes a value back through to the underlying Versioned container. -
reference
-