Class LinkedHashMap<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- com.intellij.util.containers.hash.LinkedHashMap<K,V>
-
- All Implemented Interfaces:
Map<K,V>
public class LinkedHashMap<K,V> extends AbstractMap<K,V> implements Map<K,V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description LinkedHashMap()
LinkedHashMap(int capacity)
LinkedHashMap(int capacity, float loadFactor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
Set<Map.Entry<K,V>>
entrySet()
V
get(Object key)
boolean
isEmpty()
Set<K>
keySet()
V
put(K key, V value)
V
remove(Object key)
protected boolean
removeEldestEntry(Map.Entry<K,V> eldest)
int
size()
Collection<V>
values()
-
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, putAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsValue, equals, forEach, getOrDefault, hashCode, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
clear
public void clear()
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<K,V>
- Overrides:
containsKey
in classAbstractMap<K,V>
-
values
public Collection<V> values()
-
-