Interface XAddingMap<K,​V>

    • Method Detail

      • nullKeyAllowed

        boolean nullKeyAllowed()
      • nullValuesAllowed

        boolean nullValuesAllowed()
      • add

        boolean add​(K key,
                    V value)
        Adds the passed key and value as an entry if key is not yet contained. Return value indicates new entry.
        Parameters:
        key -
        value -
      • set

        boolean set​(K key,
                    V value)
        Sets the passed key and value to an appropriate entry if one can be found. Return value indicates entry change.
        Parameters:
        key -
        value -
      • valueSet

        boolean valueSet​(K sampleKey,
                         V value)
        Sets only the passed value to an existing entry appropriate to the passed sampleKey. Returns value indicates change.
        Parameters:
        sampleKey -
        value -