Interface KeyValue<S,​K,​V>

    • Method Summary

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

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

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

        remove, set
    • Method Detail

      • of

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