public class EmptyLinkedMap
extends org.apache.commons.collections.map.LinkedMap
EmptyLinkedMap implements an empty unmodifiable LinkedMap.org.apache.commons.collections.map.AbstractLinkedMap.EntrySetIterator, org.apache.commons.collections.map.AbstractLinkedMap.KeySetIterator, org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry, org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator, org.apache.commons.collections.map.AbstractLinkedMap.LinkMapIterator, org.apache.commons.collections.map.AbstractLinkedMap.ValuesIteratororg.apache.commons.collections.map.AbstractHashedMap.EntrySet, org.apache.commons.collections.map.AbstractHashedMap.HashEntry, org.apache.commons.collections.map.AbstractHashedMap.HashIterator, org.apache.commons.collections.map.AbstractHashedMap.HashMapIterator, org.apache.commons.collections.map.AbstractHashedMap.KeySet, org.apache.commons.collections.map.AbstractHashedMap.ValuesAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.collections.map.LinkedMap |
INSTANCE
The only instance of this class.
|
data, DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR, DEFAULT_THRESHOLD, entrySet, GETKEY_INVALID, GETVALUE_INVALID, keySet, loadFactor, MAXIMUM_CAPACITY, modCount, NO_NEXT_ENTRY, NO_PREVIOUS_ENTRY, NULL, REMOVE_INVALID, SETVALUE_INVALID, size, threshold, values| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Object |
clone()
Returns the single instance of this class.
|
Set |
entrySet()
Returns an unmodifiable empty set.
|
Set |
keySet()
Returns an unmodifiable empty set.
|
Object |
put(Object o,
Object o1) |
void |
putAll(Map map) |
Object |
remove(int i) |
Object |
remove(Object o) |
Collection |
values()
Returns an unmodifiable empty collection.
|
asList, get, getValue, indexOfaddEntry, containsValue, createEntry, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryAfter, entryBefore, firstKey, getEntry, init, lastKey, mapIterator, nextKey, orderedMapIterator, previousKey, removeEntryaddMapping, calculateNewCapacity, calculateThreshold, checkCapacity, containsKey, convertKey, destroyEntry, doReadObject, doWriteObject, ensureCapacity, entryHashCode, entryKey, entryNext, entryValue, equals, get, getEntry, hash, hashCode, hashIndex, isEmpty, isEqualKey, isEqualValue, removeMapping, reuseEntry, size, toString, updateEntryfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove, replace, replace, replaceAll, sizepublic static final org.apache.commons.collections.map.LinkedMap INSTANCE
public Object remove(int i)
remove in class org.apache.commons.collections.map.LinkedMapUnsupportedOperationException - always.public void clear()
clear in interface Mapclear in class org.apache.commons.collections.map.AbstractLinkedMapUnsupportedOperationException - always.public Object put(Object o, Object o1)
put in interface Mapput in class org.apache.commons.collections.map.AbstractHashedMapUnsupportedOperationException - always.public void putAll(Map map)
putAll in interface MapputAll in class org.apache.commons.collections.map.AbstractHashedMapUnsupportedOperationException - always.public Object remove(Object o)
remove in interface Mapremove in class org.apache.commons.collections.map.AbstractHashedMapUnsupportedOperationException - always.public Set entrySet()
public Set keySet()
public Collection values()
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.