| Constructor and Description |
|---|
ParameterList()
Create an empty
ParameterList. |
ParameterList(int initialCapacity)
Constructs an empty
ParameterList with the specified initial capacity. |
ParameterList(java.util.List<ai.djl.util.Pair<java.lang.String,Parameter>> list)
Constructs a
ParameterList containing the elements of the specified list of Pairs. |
ParameterList(java.util.List<java.lang.String> keys,
java.util.List<Parameter> values)
Constructs a
ParameterList containing the elements of the specified keys and values. |
ParameterList(java.util.Map<java.lang.String,Parameter> map)
Constructs a
ParameterList containing the elements of the specified map. |
add, add, add, addAll, contains, get, get, isEmpty, iterator, keyArray, keyAt, keys, remove, remove, size, stream, subList, subList, toMap, toMap, unique, valueArray, valueAt, valuespublic ParameterList()
ParameterList.public ParameterList(int initialCapacity)
ParameterList with the specified initial capacity.initialCapacity - the initial capacity of the listjava.lang.IllegalArgumentException - if the specified initial capacity is negativepublic ParameterList(java.util.List<java.lang.String> keys,
java.util.List<Parameter> values)
ParameterList containing the elements of the specified keys and values.keys - the key list containing the elements to be placed into this ParameterListvalues - the value list containing the elements to be placed into this ParameterListjava.lang.IllegalArgumentException - if the keys and values size are differentpublic ParameterList(java.util.List<ai.djl.util.Pair<java.lang.String,Parameter>> list)
ParameterList containing the elements of the specified list of Pairs.list - the list containing the elements to be placed into this ParameterListpublic ParameterList(java.util.Map<java.lang.String,Parameter> map)
ParameterList containing the elements of the specified map.map - the map containing keys and values