Class Map4<K,V>
java.lang.Object
io.usethesource.capsule.util.collection.AbstractSpecialisedImmutableMap<K,V>
io.usethesource.capsule.util.collection.Map4<K,V>
- All Implemented Interfaces:
Map<K,
,V> Map.Immutable<K,
,V> MapEq<K,
,V> MapEq.Immutable<K,
,V> Serializable
,Cloneable
,Map<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 io.usethesource.capsule.MapEq
MapEq.Immutable<K,
V>, MapEq.Transient<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__putEquivalent
(K key, V val, EqualityComparator<Object> cmp) __removeEquivalent
(K key, EqualityComparator<Object> cmp) boolean
containsKey
(Object key) boolean
containsKeyEquivalent
(Object key, EqualityComparator<Object> cmp) boolean
containsValue
(Object val) boolean
containsValueEquivalent
(Object val, EqualityComparator<Object> cmp) entrySet()
getEquivalent
(Object key, EqualityComparator<Object> cmp) int
hashCode()
keySet()
int
size()
toString()
values()
Methods inherited from class io.usethesource.capsule.util.collection.AbstractSpecialisedImmutableMap
__putAll, __putAllEquivalent, clear, clone, entryIterator, entryOf, equals, equivalent, isEmpty, isTransientSupported, mapOf, mapOf, mapOf, mapOf, mapOf, mapOf, mapOf, mapOf, put, putAll, remove, valueIterator
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
key1
-
val1
-
key2
-
val2
-
key3
-
val3
-
key4
-
val4
-
-
Constructor Details
-
Map4
-
-
Method Details
-
containsKey
-
containsKeyEquivalent
-
containsValue
-
containsValueEquivalent
-
get
-
getEquivalent
-
size
public int size() -
entrySet
-
keySet
-
values
-
keyIterator
-
__put
-
__putEquivalent
-
__remove
-
__removeEquivalent
-
asTransient
-
hashCode
public int hashCode() -
toString
-