Package org.infinispan.commons.util
Class AbstractMap<K,V>
- java.lang.Object
-
- org.infinispan.commons.util.AbstractMap<K,V>
-
- All Implemented Interfaces:
Map<K,V>
- Direct Known Subclasses:
FastCopyHashMap
public abstract class AbstractMap<K,V> extends Object implements Map<K,V>
Similar to the JDK's AbstractMap, this provides common functionality for custom map implementations. Unlike JDK's AbstractMap, there is no support for null keys.- Since:
- 4.0
- Author:
- Manik Surtani
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AbstractMap.SimpleEntry<K,V>
-
Constructor Summary
Constructors Constructor Description AbstractMap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static void
assertKeyNotNull(Object key)
protected static boolean
eq(Object o1, Object o2)
protected static int
hash(Object key)
int
hashCode()
-