Class LinkedHashMap

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

ConstructorDescription
LinkedHashMap()Constructs a new LinkedHashMap.
MethodDescription
clone()Returns a shallow copy of this map.

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

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

LinkedHashMap()

Constructs a new LinkedHashMap.


clone(): LinkedHashMap

Returns a shallow copy of this map.

Returns:

  • a shallow copy of this map.