Module org.apache.jena.base
Class PMap<K,V,SelfType extends PMap<K,V,SelfType>>
java.lang.Object
org.apache.jena.atlas.lib.persistent.PMap<K,V,SelfType>
- Type Parameters:
K- the type of keys in the mapV- the type of values in this mapSelfType- the self-type of implementing classes
- All Implemented Interfaces:
PersistentMap<K,V, SelfType>
public abstract class PMap<K,V,SelfType extends PMap<K,V,SelfType>>
extends Object
implements PersistentMap<K,V,SelfType>
An implementation of
PersistentMap using Map.-
Method Details
-
asMap
Description copied from interface:PersistentMapAn immutable view of this as aMap. -
plus
-
minus
-
get
-
containsKey
- Specified by:
containsKeyin interfacePersistentMap<K,V, SelfType extends PMap<K, V, SelfType>> - Returns:
- whether this map contains an entry indexed by
key
-
entryStream
- Specified by:
entryStreamin interfacePersistentMap<K,V, SelfType extends PMap<K, V, SelfType>> - Returns:
- a
Streamof map entries
-