Class NullableMultivaluedHashMap<K,​V>

    • Constructor Detail

      • NullableMultivaluedHashMap

        public NullableMultivaluedHashMap()
      • NullableMultivaluedHashMap

        public NullableMultivaluedHashMap​(int initialCapacity)
      • NullableMultivaluedHashMap

        public NullableMultivaluedHashMap​(int initialCapacity,
                                          float loadFactor)
      • NullableMultivaluedHashMap

        public NullableMultivaluedHashMap​(MultivaluedMap<? extends K,​? extends V> map)
    • Method Detail

      • addFirstNull

        protected void addFirstNull​(List<V> values)
        Description copied from class: AbstractMultivaluedMap

        Define the behavior for adding a null values to the first position in the value list.

        Default implementation is a no-op, i.e. the null values are ignored. Overriding implementations may modify this behavior by providing their own definitions of this method.
        Overrides:
        addFirstNull in class AbstractMultivaluedMap<K,​V>
        Parameters:
        values - value list where the null value addition is being requested.
      • addNull

        protected void addNull​(List<V> values)
        Description copied from class: AbstractMultivaluedMap

        Define the behavior for adding a null values to the value list.

        Default implementation is a no-op, i.e. the null values are ignored. Overriding implementations may modify this behavior by providing their own definitions of this method.
        Overrides:
        addNull in class AbstractMultivaluedMap<K,​V>
        Parameters:
        values - value list where the null value addition is being requested.