Package org.apache.commons.collections4
Class SplitMapUtils.WrappedPut<K,V>
java.lang.Object
org.apache.commons.collections4.SplitMapUtils.WrappedPut<K,V>
- Enclosing class:
SplitMapUtils
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Removes all of the mappings from this map.booleancontainsKey(Object key) Always throwsUnsupportedOperationException.booleancontainsValue(Object value) Always throwsUnsupportedOperationException.entrySet()Always throwsUnsupportedOperationException.booleanAlways throwsUnsupportedOperationException.inthashCode()booleanisEmpty()Always throwsUnsupportedOperationException.keySet()Always throwsUnsupportedOperationException.Associates the specified value with the specified key in this map.voidCopies all of the mappings from the specified map to this map.Always throwsUnsupportedOperationException.intsize()Always throwsUnsupportedOperationException.values()Always throwsUnsupportedOperationException.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
put
-
-
Constructor Details
-
WrappedPut
-
-
Method Details
-
clear
public void clear()Description copied from interface:PutRemoves all of the mappings from this map. -
containsKey
Always throwsUnsupportedOperationException.- Specified by:
containsKeyin interfaceMap<K,V> - Parameters:
key- Ignored.- Throws:
UnsupportedOperationException- Always thrown.
-
containsValue
Always throwsUnsupportedOperationException.- Specified by:
containsValuein interfaceMap<K,V> - Parameters:
value- Ignored.- Throws:
UnsupportedOperationException- Always thrown.
-
entrySet
Always throwsUnsupportedOperationException.- Specified by:
entrySetin interfaceMap<K,V> - Throws:
UnsupportedOperationException- Always thrown.
-
equals
-
get
Always throwsUnsupportedOperationException.- Specified by:
getin interfaceMap<K,V> - Parameters:
key- Ignored.- Throws:
UnsupportedOperationException- Always thrown.
-
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty()Always throwsUnsupportedOperationException.- Specified by:
isEmptyin interfaceMap<K,V> - Throws:
UnsupportedOperationException- Always thrown.
-
keySet
Always throwsUnsupportedOperationException.- Specified by:
keySetin interfaceMap<K,V> - Throws:
UnsupportedOperationException- Always thrown.
-
put
Description copied from interface:PutAssociates the specified value with the specified key in this map.Note that the return type is Object, rather than V as in the Map interface. See the class Javadoc for further info.
- Specified by:
putin interfaceMap<K,V> - Specified by:
putin interfacePut<K,V> - Parameters:
key- key with which the specified value is to be associated.value- value to be associated with the specified key.- Returns:
- The previous value associated with
key, ornullif there was no mapping forkey. (Anullreturn can also indicate that the map previously associatednullwithkey, if the implementation supportsnullvalues.) - See Also:
-
putAll
Description copied from interface:PutCopies all of the mappings from the specified map to this map. -
remove
Always throwsUnsupportedOperationException.- Specified by:
removein interfaceMap<K,V> - Parameters:
key- Ignored.- Throws:
UnsupportedOperationException- Always thrown.
-
size
public int size()Always throwsUnsupportedOperationException.- Specified by:
sizein interfaceMap<K,V> - Throws:
UnsupportedOperationException- Always thrown.
-
values
Always throwsUnsupportedOperationException.- Specified by:
valuesin interfaceMap<K,V> - Throws:
UnsupportedOperationException- Always thrown.
-