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.ValuesIterator
org.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.Values
AbstractMap.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, indexOf
addEntry, containsValue, createEntry, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryAfter, entryBefore, firstKey, getEntry, init, lastKey, mapIterator, nextKey, orderedMapIterator, previousKey, removeEntry
addMapping, 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, 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.collections.map.LinkedMap INSTANCE
public Object remove(int i)
remove
in class org.apache.commons.collections.map.LinkedMap
UnsupportedOperationException
- always.public void clear()
clear
in interface Map
clear
in class org.apache.commons.collections.map.AbstractLinkedMap
UnsupportedOperationException
- always.public Object put(Object o, Object o1)
put
in interface Map
put
in class org.apache.commons.collections.map.AbstractHashedMap
UnsupportedOperationException
- always.public void putAll(Map map)
putAll
in interface Map
putAll
in class org.apache.commons.collections.map.AbstractHashedMap
UnsupportedOperationException
- always.public Object remove(Object o)
remove
in interface Map
remove
in class org.apache.commons.collections.map.AbstractHashedMap
UnsupportedOperationException
- always.public Set entrySet()
public Set keySet()
public Collection values()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.