public class ImmutableSpongeMapValue<K,V> extends ImmutableSpongeValue<Map<K,V>> implements org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V>
actualValue
Constructor and Description |
---|
ImmutableSpongeMapValue(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<Map<K,V>>> key) |
ImmutableSpongeMapValue(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<Map<K,V>>> key,
Map<K,V> actualValue) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.value.mutable.MapValue<K,V> |
asMutable() |
boolean |
containsKey(K key) |
boolean |
containsValue(V value) |
ImmutableSet<Map.Entry<K,V>> |
entrySet() |
ImmutableSet<K> |
keySet() |
int |
size() |
org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> |
transform(java.util.function.Function<Map<K,V>,Map<K,V>> function) |
ImmutableCollection<V> |
values() |
org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> |
with(K key,
V value) |
org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> |
with(Map<K,V> value) |
org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> |
withAll(Map<K,V> map) |
org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> |
without(K key) |
org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> |
withoutAll(Iterable<K> keys) |
org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> |
withoutAll(java.util.function.Predicate<Map.Entry<K,V>> predicate) |
cachedOf
equals, exists, get, getDefault, getDirect, getKey, hashCode, toString
public ImmutableSpongeMapValue(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<Map<K,V>>> key)
public org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> transform(java.util.function.Function<Map<K,V>,Map<K,V>> function)
public int size()
public org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> withAll(Map<K,V> map)
public org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> withoutAll(Iterable<K> keys)
public org.spongepowered.api.data.value.immutable.ImmutableMapValue<K,V> withoutAll(java.util.function.Predicate<Map.Entry<K,V>> predicate)
public boolean containsKey(K key)
public boolean containsValue(V value)
public ImmutableSet<K> keySet()
public ImmutableSet<Map.Entry<K,V>> entrySet()
public ImmutableCollection<V> values()