public class InsertionSortedMap<K,V> extends AbstractMap<K,V> implements Serializable
Title: Map implementation that respects the insertion order.
Description: This map implementation actually uses an List to store the entry pairs.
Copyright: Copyright (c) 2002
Company: Jahia Ltd
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InsertionSortedMap() |
InsertionSortedMap(Map<K,V> t) |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<K,V>> |
entrySet() |
V |
put(K key,
V value) |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic V put(K key, V value) throws UnsupportedOperationException, ClassCastException, IllegalArgumentException, NullPointerException
put in interface Map<K,V>put in class AbstractMap<K,V>UnsupportedOperationExceptionClassCastExceptionIllegalArgumentExceptionNullPointerExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.