Package org.ofbiz.core.util
Class UtilMisc.SimpleMap
java.lang.Object
org.ofbiz.core.util.UtilMisc.SimpleMap
- All Implemented Interfaces:
Serializable,Map<String,Object>
- Enclosing class:
- UtilMisc
protected static class UtilMisc.SimpleMap
extends Object
implements Map<String,Object>, Serializable
This is meant to be very quick to create and use for small sized maps, perfect for how we usually use UtilMisc.toMap
- See Also:
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
realMapIfNeeded
-
-
Constructor Details
-
SimpleMap
public SimpleMap() -
SimpleMap
-
SimpleMap
-
SimpleMap
-
SimpleMap
-
-
Method Details
-
makeRealMap
protected void makeRealMap() -
clear
public void clear() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-
toString
-
hashCode
public int hashCode() -
equals
-