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

Hash map implementation.

Inherited Properties
propertyInherited Properties from Map: size
propertyInherited Properties from Object: type
propertyInherited Properties 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.
Inherited Methods
methodInherited Methods from Map: clear, containsValue, get, items, keys, remove, toString, values
methodInherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml
methodInherited Methods from MapCollection: clear, containsValue, get, 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.
Inherited Operators
operatorInherited Operators 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
operatorInherited Operators from MapCollection: operator in(key as K) as Boolean, operator[](key as K) as V