public static class SetConfigKey.SetModifications extends StructuredConfigKey.StructuredModifications
Constructor and Description |
---|
SetModifications() |
Modifier and Type | Method and Description |
---|---|
static <T> SetConfigKey.SetModification<T> |
add(T o1,
T o2,
T... oo)
when passed as a value to a SetConfigKey, causes each of these items to be added.
|
static <T> SetConfigKey.SetModification<T> |
addAll(java.util.Collection<T> items)
when passed as a value to a SetConfigKey, causes each of these items to be added
|
static <T> SetConfigKey.SetModification<T> |
addItem(T item)
when passed as a value to a SetConfigKey, causes the items to be added as a single element in the set
|
static <T> SetConfigKey.SetModification<T> |
set(java.util.Collection<T> items)
when passed as a value to a SetConfigKey, causes the set to be cleared and these items added
|
clearing
public static final <T> SetConfigKey.SetModification<T> add(T o1, T o2, T... oo)
public static final <T> SetConfigKey.SetModification<T> addAll(java.util.Collection<T> items)
public static final <T> SetConfigKey.SetModification<T> addItem(T item)
public static final <T> SetConfigKey.SetModification<T> set(java.util.Collection<T> items)