org.omnaest.utils.structure.map
Class MapAbstract<K,V>
java.lang.Object
org.omnaest.utils.structure.map.MapAbstract<K,V>
- Type Parameters:
K - V -
- All Implemented Interfaces:
- Serializable, Map<K,V>
- Direct Known Subclasses:
- IdentityLinkedHashMap, MapComposite, MapToMapAdapter, TypeToPropertynameMapAdapter
public abstract class MapAbstract<K,V>
- extends Object
- implements Map<K,V>, Serializable
This abstract Map implementation does implement all methods which rely only on other methods within the Map
interface. This results in sub classes only to have to implement the really needed methods.
- Author:
- Omnaest
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
MapAbstract
public MapAbstract()
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<K,V>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<K,V>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<K,V>
putAll
public void putAll(Map<? extends K,? extends V> map)
- Specified by:
putAll in interface Map<K,V>
entrySet
public Set<Map.Entry<K,V>> entrySet()
- Specified by:
entrySet in interface Map<K,V>
size
public int size()
- Specified by:
size in interface Map<K,V>
clear
public void clear()
- Specified by:
clear in interface Map<K,V>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.