Class GenericMapTest.TestGenericMap<K,V>
- java.lang.Object
-
- org.apache.ofbiz.base.util.collections.GenericMap<K,V>
-
- org.apache.ofbiz.base.util.collections.test.GenericMapTest.TestGenericMap<K,V>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Map<K,V>
,Appender<java.lang.StringBuilder>
- Enclosing class:
- GenericMapTest
public static class GenericMapTest.TestGenericMap<K,V> extends GenericMap<K,V>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ofbiz.base.util.collections.GenericMap
GenericMap.GenericMapIterator<DEST>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TestGenericMap()
protected
TestGenericMap(java.util.Map<K,V> srcMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearInternal()
boolean
containsKey(java.lang.Object key)
protected V
get(java.lang.Object key, boolean noteAccess)
java.util.List<java.lang.Integer>
getCounts()
boolean
isEmpty()
protected java.util.Iterator<java.util.Map.Entry<K,V>>
iterator(boolean noteAccess)
V
put(K key, V value)
protected <KE extends K,VE extends V>
voidputAllIterator(java.util.Iterator<java.util.Map.Entry<KE,VE>> it)
protected V
removeInternal(java.lang.Object key, boolean incrementModCount)
int
size()
-
Methods inherited from class org.apache.ofbiz.base.util.collections.GenericMap
appendTo, clear, containsValue, entrySet, equals, equalsGenericMap, equalsMap, get, getModCount, hashCode, incrementModCount, keySet, putAll, remove, toString, values
-
-
-
-
Method Detail
-
getCounts
public java.util.List<java.lang.Integer> getCounts()
-
clearInternal
protected void clearInternal()
- Specified by:
clearInternal
in classGenericMap<K,V>
-
containsKey
public boolean containsKey(java.lang.Object key)
-
get
protected V get(java.lang.Object key, boolean noteAccess)
- Specified by:
get
in classGenericMap<K,V>
-
isEmpty
public boolean isEmpty()
-
iterator
protected java.util.Iterator<java.util.Map.Entry<K,V>> iterator(boolean noteAccess)
- Specified by:
iterator
in classGenericMap<K,V>
-
putAllIterator
protected <KE extends K,VE extends V> void putAllIterator(java.util.Iterator<java.util.Map.Entry<KE,VE>> it)
- Specified by:
putAllIterator
in classGenericMap<K,V>
-
removeInternal
protected V removeInternal(java.lang.Object key, boolean incrementModCount)
- Specified by:
removeInternal
in classGenericMap<K,V>
-
size
public int size()
-
-