public class EmptyLinkedMap<K,V>
extends org.apache.commons.collections4.map.LinkedMap<K,V>
EmptyLinkedMap
implements an empty unmodifiable LinkedMap
.org.apache.commons.collections4.map.AbstractLinkedMap.EntrySetIterator<K,V>, org.apache.commons.collections4.map.AbstractLinkedMap.KeySetIterator<K>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<K,V>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkIterator<K,V>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkMapIterator<K,V>, org.apache.commons.collections4.map.AbstractLinkedMap.ValuesIterator<V>
org.apache.commons.collections4.map.AbstractHashedMap.EntrySet<K,V>, org.apache.commons.collections4.map.AbstractHashedMap.HashEntry<K,V>, org.apache.commons.collections4.map.AbstractHashedMap.HashIterator<K,V>, org.apache.commons.collections4.map.AbstractHashedMap.HashMapIterator<K,V>, org.apache.commons.collections4.map.AbstractHashedMap.KeySet<K>, org.apache.commons.collections4.map.AbstractHashedMap.Values<V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.collections4.map.LinkedMap |
INSTANCE
The only instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
org.apache.commons.collections4.map.LinkedMap<K,V> |
clone()
Returns the single instance of this class.
|
Set<Map.Entry<K,V>> |
entrySet()
Returns an unmodifiable empty set.
|
Set<K> |
keySet()
Returns an unmodifiable empty set.
|
V |
put(Object o,
Object o1) |
void |
putAll(Map map) |
V |
remove(int i) |
V |
remove(Object o) |
Collection<V> |
values()
Returns an unmodifiable empty collection.
|
asList, get, getValue, indexOf
addEntry, containsValue, createEntry, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryAfter, entryBefore, firstKey, getEntry, getEntry, init, lastKey, mapIterator, nextKey, previousKey, removeEntry
addMapping, calculateNewCapacity, calculateThreshold, checkCapacity, containsKey, convertKey, destroyEntry, doReadObject, doWriteObject, ensureCapacity, entryHashCode, entryKey, entryNext, entryValue, equals, get, hash, hashCode, hashIndex, isEmpty, isEqualKey, isEqualValue, removeMapping, reuseEntry, size, toString, updateEntry
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove, replace, replace, replaceAll, size
public static final org.apache.commons.collections4.map.LinkedMap INSTANCE
public V remove(int i)
remove
in class org.apache.commons.collections4.map.LinkedMap<K,V>
UnsupportedOperationException
- always.public void clear()
public void putAll(Map map)
public Collection<V> values()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.