Interface Value<S,​V>

    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static <S,​V>
      Value<S,​V>
      of​(Getter<S,​V> getter, Setter<S,​V> setter)
      Creates a new Value by delegating to the provided arguments.
      • Methods inherited from interface com.rezzedup.util.valuables.Getter

        get
      • Methods inherited from interface com.rezzedup.util.valuables.Setter

        remove, set
    • Method Detail

      • of

        static <S,​V> Value<S,​V> of​(Getter<S,​V> getter,
                                               Setter<S,​V> setter)
        Creates a new Value by delegating to the provided arguments.
        Type Parameters:
        S - storage type
        V - value type
        Parameters:
        getter - the value getter
        setter - the value setter
        Returns:
        a new instance composed of the arguments