Class MultivaluedMapImpl<K,V>

java.lang.Object
java.util.AbstractMap<K,List<V>>
java.util.HashMap<K,List<V>>
org.jboss.resteasy.specimpl.MultivaluedMapImpl<K,V>
All Implemented Interfaces:
jakarta.ws.rs.core.MultivaluedMap<K,V>, Serializable, Cloneable, Map<K,List<V>>

public class MultivaluedMapImpl<K,V> extends HashMap<K,List<V>> implements jakarta.ws.rs.core.MultivaluedMap<K,V>
Version:
$Revision: 1 $
Author:
Bill Burke
See Also:
  • Constructor Details

    • MultivaluedMapImpl

      public MultivaluedMapImpl()
  • Method Details

    • putSingle

      public void putSingle(K key, V value)
      Specified by:
      putSingle in interface jakarta.ws.rs.core.MultivaluedMap<K,V>
    • addAll

      public void addAll(K key, V... newValues)
      Specified by:
      addAll in interface jakarta.ws.rs.core.MultivaluedMap<K,V>
    • addAll

      public void addAll(K key, List<V> valueList)
      Specified by:
      addAll in interface jakarta.ws.rs.core.MultivaluedMap<K,V>
    • addFirst

      public void addFirst(K key, V value)
      Specified by:
      addFirst in interface jakarta.ws.rs.core.MultivaluedMap<K,V>
    • add

      public final void add(K key, V value)
      Specified by:
      add in interface jakarta.ws.rs.core.MultivaluedMap<K,V>
    • addMultiple

      public final void addMultiple(K key, Collection<V> values)
    • getFirst

      public V getFirst(K key)
      Specified by:
      getFirst in interface jakarta.ws.rs.core.MultivaluedMap<K,V>
    • getList

      public final List<V> getList(K key)
    • addAll

      public void addAll(MultivaluedMapImpl<K,V> other)
    • equalsIgnoreValueOrder

      public boolean equalsIgnoreValueOrder(jakarta.ws.rs.core.MultivaluedMap<K,V> omap)
      Specified by:
      equalsIgnoreValueOrder in interface jakarta.ws.rs.core.MultivaluedMap<K,V>