public class SynchronizedReference<V>
extends Object
-
Constructor Summary
Constructors
-
Method Summary
void
set(@Nullable V newValue)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SynchronizedReference
public SynchronizedReference
(@Nullable V initialValue)
-
SynchronizedReference
public SynchronizedReference()
-
Method Details
-
get
public final @Nullable V get()
-
set
public final void set
(@Nullable V newValue)