Uses of Class
cloud.opencode.base.collections.immutable.PersistentMap
Packages that use PersistentMap
-
Uses of PersistentMap in cloud.opencode.base.collections.immutable
Methods in cloud.opencode.base.collections.immutable that return PersistentMapModifier and TypeMethodDescriptionstatic <K,V> PersistentMap <K, V> PersistentMap.empty()Return an empty persistent map.static <K,V> PersistentMap <K, V> PersistentMap.of(K k1, V v1) Create a persistent map with one entry.static <K,V> PersistentMap <K, V> PersistentMap.of(K k1, V v1, K k2, V v2) Create a persistent map with two entries.Return a new map with the given key-value pair added or updated.Return a new map with the given key removed.