K - the type of keys in the mapV - the type of values in this mapSelfType - the self-type of implementing classespublic abstract class PMap<K,V,SelfType extends PMap<K,V,SelfType>> extends Object implements PersistentMap<K,V,SelfType>
PersistentMap using Map.| Modifier and Type | Method and Description |
|---|---|
Map<K,V> |
asMap()
An immutable view of this as a
Map. |
boolean |
containsKey(K key) |
Stream<Map.Entry<K,V>> |
entryStream() |
Optional<V> |
get(K key) |
SelfType |
minus(K key) |
SelfType |
plus(K key,
V value) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflattenpublic Map<K,V> asMap()
PersistentMapMap.public boolean containsKey(K key)
containsKey in interface PersistentMap<K,V,SelfType extends PMap<K,V,SelfType>>keyLicenced under the Apache License, Version 2.0