Class HashMap

Represents a hash map of objects.

Constructor Summary 

ConstructorDescription
HashMap()Constructs a new HashMap.

Method Summary 

MethodDescription
clone()Returns a shallow copy of this map.

Methods inherited from class Map 

clear, containsKey, containsValue, entrySet, get, getLength, isEmpty, keySet, put, putAll, remove, size, values, values

Methods inherited from class Object 

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Constructor Details 

HashMap() 

HashMap()

Constructs a new HashMap.


Method Details 

clone() 

clone(): HashMap

Returns a shallow copy of this map.

Returns:

  • a shallow copy of this map.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!