public class SetConfigKey<V> extends AbstractCollectionConfigKey<java.util.Set<? extends V>,java.util.Set<java.lang.Object>,V>
To add all items in a collection, to add a collection as a single element,
to clear the list, or to set a collection (clearing first),
use the relevant SetConfigKey.SetModification
in SetConfigKey.SetModifications
.
Specific values can be added in a replaceable way by referring to a subkey.
Modifier and Type | Class and Description |
---|---|
static interface |
SetConfigKey.SetModification<T> |
static class |
SetConfigKey.SetModificationBase<T> |
static class |
SetConfigKey.SetModifications |
BasicConfigKey.BasicConfigKeyOverwriting<T>, BasicConfigKey.Builder<T>
StructuredConfigKey.StructuredModification<T extends StructuredConfigKey>, StructuredConfigKey.StructuredModifications
ConfigKey.HasConfigKey<T>
subType
Constructor and Description |
---|
SetConfigKey(java.lang.Class<V> subType,
java.lang.String name) |
SetConfigKey(java.lang.Class<V> subType,
java.lang.String name,
java.lang.String description) |
SetConfigKey(java.lang.Class<V> subType,
java.lang.String name,
java.lang.String description,
java.util.Set<? extends V> defaultValue) |
applyValueToMap, subKey
acceptsKeyMatch, acceptsSubkey, acceptsSubkeyStronglyTyped, extractSubKeyName, extractValue, isSet, rawValue
builder, builder, builder, builder, builder, equals, getDefaultValue, getDescription, getInheritance, getName, getNameParts, getType, getTypeName, getTypeToken, hasDefaultValue, hashCode, isReconfigurable, toString