Interface DefaultKeyValue<S,​K,​V>

    • Method Detail

      • of

        static <S,​K,​V> DefaultKeyValue<S,​K,​V> of​(V def,
                                                                         KeyValue<S,​K,​V> value)
        Creates a new DefaultKeyValue by delegating to the provided arguments.
        Type Parameters:
        S - storage type
        K - key type
        V - value type
        Parameters:
        def - the default fallback value
        value - an existing key value implementation
        Returns:
        a new instance composed of the arguments