Package ch.njol.util

Class SynchronizedReference<V>

java.lang.Object
ch.njol.util.SynchronizedReference<V>

public class SynchronizedReference<V> extends Object
  • Constructor Details

    • SynchronizedReference

      public SynchronizedReference(@Nullable V initialValue)
    • SynchronizedReference

      public SynchronizedReference()
  • Method Details

    • get

      @Nullable public final V get()
    • set

      public final void set(@Nullable V newValue)