Class YFastMap<K,V>
- java.lang.Object
-
- de.hybris.platform.util.collections.AbstractDelegatingMap<K,V>
-
- de.hybris.platform.util.collections.YFastMap<K,V>
-
- All Implemented Interfaces:
YMap<K,V>,java.io.Serializable,java.util.Map<K,V>
- Direct Known Subclasses:
YFastFIFOMap
public class YFastMap<K,V> extends AbstractDelegatingMap<K,V> implements YMap<K,V>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface de.hybris.platform.util.collections.YMap
YMap.ClearHandler<K1,V1>
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.util.collections.AbstractDelegatingMap
delegateMap
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidclear(YMap.ClearHandler<K,V> handler)booleancontainsKey(java.lang.Object key)protected java.util.Map<K,V>createMapInstance()java.util.Map.Entry<K,V>getEntry(java.lang.Object key)java.util.Map.Entry<K,V>getEntry(java.lang.Object key, boolean lock)intgetMaxReachedSize()Vput(K key, V value)voidputAll(java.util.Map<? extends K,? extends V> t)Vremove(java.lang.Object key)-
Methods inherited from class de.hybris.platform.util.collections.AbstractDelegatingMap
containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, size, toString, values
-
-
-
-
Method Detail
-
createMapInstance
protected java.util.Map<K,V> createMapInstance()
- Specified by:
createMapInstancein classAbstractDelegatingMap<K,V>
-
clear
public void clear()
-
clear
public void clear(YMap.ClearHandler<K,V> handler)
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKeyin interfacejava.util.Map<K,V>- Overrides:
containsKeyin classAbstractDelegatingMap<K,V>
-
remove
public V remove(java.lang.Object key)
-
getMaxReachedSize
public int getMaxReachedSize()
-
-