org.infinispan.util
Class AbstractMap<K,V>
java.lang.Object
org.infinispan.util.AbstractMap<K,V>
- All Implemented Interfaces:
- Map<K,V>
- Direct Known Subclasses:
- BidirectionalLinkedHashMap, 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 classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
entrySet
protected transient Set<Map.Entry<K,V>> entrySet
keySet
protected transient Set<K> keySet
values
protected transient Collection<V> values
AbstractMap
public AbstractMap()
hash
protected static int hash(Object key)
eq
protected static boolean eq(Object o1,
Object o2)
assertKeyNotNull
protected final void assertKeyNotNull(Object key)
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.