LinkedHashMap

suggest change

Versions

The original version list named Java SE 1.4, 5, 6, 7, 8, and 9 (Early Access).

Introduction

The LinkedHashMap class is a hash table and linked list implementation of the Map interface, with predictable iteration order. It extends HashMap and implements the Map interface.

The important points about the Java LinkedHashMap class are: A LinkedHashMap contains values based on the key. It contains only unique keys. It may have one null key and multiple null values. It is the same as HashMap, except that the no-arg form iterates in insertion order. Another constructor can select access order.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents