HashMap
classin packageklyn.collections
public class HashMap<K, V> extends Map<K, V>:
└ Map
└ HashMap

Hash map implementation. @param <K> Key type. @param <V> Value type.

Properties inherited from Map: size
Properties inherited from Object: type
Properties inherited from MapCollection: size
Constructors
Modifier and Type Member Description
public HashMap Creates an empty hash map.
public HashMap
HashMap(keys as IList<K>, values as IList<V>):
Creates a new HashMap from key-value pairs.
public HashMap
HashMap(map as MapCollection<K, V>):
Creates a new HashMap from another map.
Methods inherited from Map: clear, containsValue, items, keys, remove, toString, values
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml
Methods inherited from MapCollection: clear, containsValue, items, keys, remove, values
Operators
Modifier and Type Member Description
public native override operator in(key as K) as Boolean Returns true if the key exists.
Operators inherited from Map: operator in(key as K) as Boolean, operator!=(readonly notnull left as Map, readonly notnull right as Map) as Boolean, operator==(readonly notnull left as Map, readonly notnull right as Map) as Boolean, operator[](key as K) as V
Operators inherited from MapCollection: operator in(key as K) as Boolean, operator[](key as K) as V