kotlin.reflect.jvm.internal.pcollections
Class HashPMap<K,V>

java.lang.Object
  extended by kotlin.reflect.jvm.internal.pcollections.HashPMap<K,V>

public final class HashPMap<K,V>
extends Object

A persistent map from non-null keys to non-null values.


Method Summary
 boolean containsKey(Object key)
           
static
<K,V> HashPMap<K,V>
empty()
           
 V get(Object key)
           
 HashPMap<K,V> minus(Object key)
           
 HashPMap<K,V> plus(K key, V value)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

empty

@NotNull
public static <K,V> HashPMap<K,V> empty()

size

public int size()

containsKey

public boolean containsKey(Object key)

get

public V get(Object key)

plus

@NotNull
public HashPMap<K,V> plus(K key,
                                  V value)

minus

@NotNull
public HashPMap<K,V> minus(Object key)


Copyright © 2014. All Rights Reserved.