public abstract class AbstractSingleMapData<K,V,M extends org.spongepowered.api.data.manipulator.DataManipulator<M,I>,I extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator<I,M>> extends AbstractSingleData<Map<K,V>,M,I>
usedKey
Constructor and Description |
---|
AbstractSingleMapData(Class<M> manipulatorClass,
Map<K,V> value,
org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<Map<K,V>>> usedKey,
Class<? extends I> immutableClass) |
Modifier and Type | Method and Description |
---|---|
I |
asImmutable() |
M |
copy() |
Map<K,V> |
getValue() |
protected org.spongepowered.api.data.value.mutable.Value<?> |
getValueGetter() |
M |
setValue(Map<K,V> value) |
compareTo, equals, get, hashCode, registerGettersAndSetters, supports
fill, from, getKeys, getValue, getValues, registerFieldGetter, registerFieldSetter, registerKeyValue, set, transform
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
protected org.spongepowered.api.data.value.mutable.Value<?> getValueGetter()
public M copy()
public I asImmutable()
asImmutable
in interface org.spongepowered.api.data.manipulator.DataManipulator<M extends org.spongepowered.api.data.manipulator.DataManipulator<M,I>,I extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator<I,M>>
asImmutable
in class AbstractSingleData<Map<K,V>,M extends org.spongepowered.api.data.manipulator.DataManipulator<M,I>,I extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator<I,M>>