Class LinkedHashMap

This class implements a HashMap, which guarantees a iteration order according the put-order of the elements in the map.

Constructor Summary 

ConstructorDescription
LinkedHashMap()Constructs a new LinkedHashMap.

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 

LinkedHashMap() 

LinkedHashMap()

Constructs a new LinkedHashMap.


Method Details 

clone() 

clone(): LinkedHashMap

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!