Package org.apache.jackrabbit.core.util
Class EmptyLinkedMap<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- org.apache.commons.collections4.map.AbstractHashedMap<K,V>
-
- org.apache.commons.collections4.map.AbstractLinkedMap<K,V>
-
- org.apache.commons.collections4.map.LinkedMap<K,V>
-
- org.apache.jackrabbit.core.util.EmptyLinkedMap<K,V>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<K,V>
,org.apache.commons.collections4.Get<K,V>
,org.apache.commons.collections4.IterableGet<K,V>
,org.apache.commons.collections4.IterableMap<K,V>
,org.apache.commons.collections4.OrderedMap<K,V>
,org.apache.commons.collections4.Put<K,V>
public class EmptyLinkedMap<K,V> extends org.apache.commons.collections4.map.LinkedMap<K,V>
EmptyLinkedMap
implements an empty unmodifiableLinkedMap
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.commons.collections4.map.AbstractLinkedMap
org.apache.commons.collections4.map.AbstractLinkedMap.EntrySetIterator<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractLinkedMap.KeySetIterator<K extends Object>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkIterator<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkMapIterator<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractLinkedMap.ValuesIterator<V extends Object>
-
Nested classes/interfaces inherited from class org.apache.commons.collections4.map.AbstractHashedMap
org.apache.commons.collections4.map.AbstractHashedMap.EntrySet<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.HashEntry<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.HashIterator<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.HashMapIterator<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.KeySet<K extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.Values<V extends Object>
-
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>
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.collections4.map.LinkedMap
INSTANCE
The only instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.apache.commons.collections4.map.LinkedMap
asList, get, getValue, indexOf
-
Methods inherited from class org.apache.commons.collections4.map.AbstractLinkedMap
addEntry, containsValue, createEntry, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryAfter, entryBefore, firstKey, getEntry, getEntry, init, lastKey, mapIterator, nextKey, previousKey, removeEntry
-
Methods inherited from class org.apache.commons.collections4.map.AbstractHashedMap
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
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.commons.collections4.Get
containsKey, get, isEmpty, size
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove, replace, replace, replaceAll, size
-
-
-
-
Method Detail
-
remove
public V remove(int i)
- Overrides:
remove
in classorg.apache.commons.collections4.map.LinkedMap<K,V>
- Throws:
UnsupportedOperationException
- always.
-
clear
public void clear()
-
putAll
public void putAll(Map map)
-
values
public Collection<V> values()
Returns an unmodifiable empty collection.
-
-