Class KeyValueList

All Implemented Interfaces:
Serializable, Cloneable, Iterable<KeyValue>, Collection<KeyValue>, List<KeyValue>, RandomAccess, SequencedCollection<KeyValue>
Direct Known Subclasses:
XmlKeyValueList

public class KeyValueList extends ArrayList<KeyValue> implements List<KeyValue>
The type Key value list.
See Also:
  • Constructor Details

    • KeyValueList

      public KeyValueList()
  • Method Details

    • fromMap

      public static KeyValueList fromMap(Map<?,?> data)
      From map key value list.
      Parameters:
      data - the data
      Returns:
      the key value list
    • fromCollection

      public static KeyValueList fromCollection(Collection<KeyValue> data)
      From collection key value list.
      Parameters:
      data - the data
      Returns:
      the key value list
    • toMap

      public final Map<String,String> toMap()
      To map map.
      Returns:
      the map