Class KeyValueList
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<KeyValue>,Collection<KeyValue>,List<KeyValue>,RandomAccess
- Direct Known Subclasses:
XmlKeyValueList
The type Key value list.
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyValueListfromCollection(Collection<KeyValue> data) From collection key value list.static KeyValueListFrom map key value list.toMap()To map map.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
KeyValueList
public KeyValueList()
-
-
Method Details
-
fromMap
From map key value list.- Parameters:
data- the data- Returns:
- the key value list
-
fromCollection
From collection key value list.- Parameters:
data- the data- Returns:
- the key value list
-
toMap
To map map.- Returns:
- the map
-