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