Package io.usethesource.capsule
Interface Map.Immutable<K,V>
-
- All Superinterfaces:
Map<K,V>
,java.util.Map<K,V>
,MapEq<K,V>
,MapEq.Immutable<K,V>
- All Known Implementing Classes:
AbstractImmutableMap
,AbstractSpecialisedImmutableMap
,Map0
,Map1
,Map2
,Map3
,Map4
,Map5
,PersistentTrieMap
public static interface Map.Immutable<K,V> extends Map<K,V>, MapEq.Immutable<K,V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.usethesource.capsule.Map
Map.Immutable<K,V>, Map.Transient<K,V>
-
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface io.usethesource.capsule.MapEq
MapEq.Immutable<K,V>, MapEq.Transient<K,V>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Map.Immutable<K,V>
__put(K key, V val)
Map.Immutable<K,V>
__putAll(java.util.Map<? extends K,? extends V> map)
Map.Immutable<K,V>
__remove(K key)
Map.Transient<K,V>
asTransient()
boolean
isTransientSupported()
static <K,V>
Map.Immutable<K,V>of()
static <K,V>
Map.Immutable<K,V>of(K key, V value)
static <K,V>
Map.Immutable<K,V>of(K key0, V value0, K key1, V value1)
-
Methods inherited from interface io.usethesource.capsule.Map
containsKey, containsValue, entryIterator, equals, get, hashCode, isEmpty, keyIterator, size, valueIterator
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, entrySet, forEach, getOrDefault, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, values
-
Methods inherited from interface io.usethesource.capsule.MapEq
containsKeyEquivalent, containsValueEquivalent, equivalent, getEquivalent
-
Methods inherited from interface io.usethesource.capsule.MapEq.Immutable
__putAllEquivalent, __putEquivalent, __removeEquivalent
-
-
-
-
Method Detail
-
__put
Map.Immutable<K,V> __put(K key, V val)
-
__remove
Map.Immutable<K,V> __remove(K key)
-
__putAll
Map.Immutable<K,V> __putAll(java.util.Map<? extends K,? extends V> map)
-
isTransientSupported
boolean isTransientSupported()
-
asTransient
Map.Transient<K,V> asTransient()
-
of
static <K,V> Map.Immutable<K,V> of()
-
of
static <K,V> Map.Immutable<K,V> of(K key, V value)
-
of
static <K,V> Map.Immutable<K,V> of(K key0, V value0, K key1, V value1)
-
-