Class NamedAttributeMap

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,NamedAttribute>
org.apache.juneau.rest.server.httppart.NamedAttributeMap
All Implemented Interfaces:
Serializable, Cloneable, Map<String,NamedAttribute>

A list of NamedAttribute objects.
See Also:
See Also:
  • Constructor Details

  • Method Details

    • create

      public static NamedAttributeMap create()
      Static creator.
      Returns:
      An empty list.
    • of

      public static NamedAttributeMap of(NamedAttribute... values)
      Static creator.
      Parameters:
      values - The initial contents of this list. Must not be null.
      Returns:
      A new list containing the specified attributes.
    • add

      public NamedAttributeMap add(NamedAttribute... values)
      Appends the specified named attributes to the list.
      Parameters:
      values - The values to add. Must not be null.
      Returns:
      This object.
    • copy

      Creates a copy of this list.
      Returns:
      A new copy of this list.