Class ReferenceUtils

java.lang.Object
panda.std.reactive.ReferenceUtils

public final class ReferenceUtils extends Object
  • Method Details

    • setValue

      public static <T> void setValue(Reference<T> reference, T value)
      Bypass immutability of Reference to e.g. initialize value. This method should be considered as unsafe, and it shouldn't be exposed to final user of your api
      Type Parameters:
      T - type of value
      Parameters:
      reference - the reference to update
      value - the value to set