Class GenericMap<K,V>
java.lang.Object
org.apache.ofbiz.base.util.collections.GenericMap<K,V>
- All Implemented Interfaces:
Serializable
,Map<K,
,V> Appender<StringBuilder>
public abstract class GenericMap<K,V>
extends Object
implements Appender<StringBuilder>, Map<K,V>, Serializable
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
clear()
protected abstract void
boolean
containsValue
(Object value) entrySet()
boolean
final V
protected abstract V
int
Gets mod count.int
hashCode()
protected void
Increment mod count.iterator
(boolean noteAccess) keySet()
final void
putAllIterator
(Iterator<Map.Entry<KE, VE>> it) final V
protected abstract V
removeInternal
(Object key, boolean incrementModCount) toString()
final Collection<V>
values()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, forEach, getOrDefault, isEmpty, merge, put, putIfAbsent, remove, replace, replace, replaceAll, size
-
Constructor Details
-
GenericMap
public GenericMap()
-
-
Method Details
-
getModCount
public int getModCount()Gets mod count.- Returns:
- the mod count
-
incrementModCount
protected void incrementModCount()Increment mod count. -
clear
public final void clear() -
clearInternal
protected abstract void clearInternal() -
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V>
-
hashCode
public int hashCode() -
equals
-
get
-
get
-
entrySet
-
iterator
-
keySet
-
values
-
remove
-
removeInternal
-
putAll
-
putAllIterator
-
toString
-
appendTo
-