public static class MapConfigKey.MapModifications extends StructuredConfigKey.StructuredModifications
Constructor and Description |
---|
MapConfigKey.MapModifications() |
Modifier and Type | Method and Description |
---|---|
static <V> MapConfigKey.MapModification<V> |
add(java.util.Map<java.lang.String,V> itemsToAdd)
when passed as a value to a MapConfigKey, causes the items to be added to the underlying map
using
Jsonya add semantics (combining maps and lists) |
static <V> MapConfigKey.MapModification<V> |
put(java.util.Map<java.lang.String,V> itemsToPutInMapReplacing)
when passed as a value to a MapConfigKey, causes each of these items to be put
(this Mod is redundant as no other value is really sensible)
|
static <V> MapConfigKey.MapModification<V> |
set(java.util.Map<java.lang.String,V> itemsToPutInMapAfterClearing)
when passed as a value to a MapConfigKey, causes the map to be cleared and these items added
|
clearing
public static final <V> MapConfigKey.MapModification<V> put(java.util.Map<java.lang.String,V> itemsToPutInMapReplacing)
public static final <V> MapConfigKey.MapModification<V> set(java.util.Map<java.lang.String,V> itemsToPutInMapAfterClearing)
public static final <V> MapConfigKey.MapModification<V> add(java.util.Map<java.lang.String,V> itemsToAdd)
Jsonya
add semantics (combining maps and lists)