@NotThreadSafe public final class Params extends KeyedValues
Params may hold any number of parameters. Each parameter is a key associated with one value or more. The order of parameters within the dictionary is unspecified, but the values of a parameter are in their order of insertion.
Modifier and Type | Field and Description |
---|---|
static Params |
EMPTY_PARAMS
Empty parameters.
|
ANONYMOUS, HASH_LOAD_FACTOR, MAP_ENTRY_COMPARATOR
Constructor and Description |
---|
Params()
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsValueKey(String key)
Asks if the key is associated with a value.
|
Params |
copy()
Creates a copy of this.
|
boolean |
equals(Object other) |
Params |
freeze()
Freezes this.
|
List<Object> |
getObjects(String key)
Gets the object list for a key.
|
int |
hashCode() |
void |
setDefaults(Params defaults)
Sets the defaults.
|
add, addAll, addObject, areValuesHidden, checkNotFrozen, clear, frozen, getBoolean, getBoolean, getBoolean, getClassDef, getClassDef, getClassDefs, getDouble, getElapsed, getInt, getInteger, getLong, getLong, getObject, getPassword, getString, getString, getStrings, getThisLogger, getType, getValues, getValuesEntries, getValuesKeys, getValuesSize, hashCapacity, isEmpty, isFrozen, isHidden, isMultiple, removeValue, setHidden, setObjects, setValue, setValuesHidden, substitute, thawed, toString
public static final Params EMPTY_PARAMS
public boolean containsValueKey(String key)
containsValueKey
in class KeyedValues
key
- The key to look for.public Params copy()
copy
in class KeyedValues
public boolean equals(Object other)
equals
in class KeyedValues
public Params freeze()
freeze
in class KeyedValues
public List<Object> getObjects(String key)
getObjects
in class KeyedValues
key
- The object key.public int hashCode()
hashCode
in class KeyedValues
public void setDefaults(@Nonnull Params defaults)
defaults
- The defaults.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.