@Test public void test_Map_Entry_hashCode() { PauselessHashMap<Integer, Integer> map = new PauselessHashMap<Integer, Integer>(10); Integer key = new Integer(1); Integer val = new Integer(2); map.put(key, val); int expected = key.hashCode() ^ val.hashCode(); assertEquals(expected, map.hashCode()); key = new Integer(4); val = new Integer(8); map.put(key, val); expected += key.hashCode() ^ val.hashCode(); assertEquals(expected, map.hashCode()); }
@Override public V put(K key, V value) { return putImpl(key, value); }
PauselessHashMap extends java.util.AbstractMap<K, V> implements Map<K, V>,
        Cloneable, Serializable { @Override public V put(K key, V value) { return putImpl(key, value); } }
PauselessHashMap extends java.util.AbstractMap<K, V> implements Map<K, V>,
        Cloneable, Serializable { @Override public V put(K key, V value) { return putImpl(key, value); } PauselessHashMap();  PauselessHashMap(int capacity);  PauselessHashMap(int capacity, float loadFactor);  PauselessHashMap(Map<? extends K, ? extends V> map); }
PauselessHashMap extends java.util.AbstractMap<K, V> implements Map<K, V>,
        Cloneable, Serializable { @Override public V put(K key, V value) { return putImpl(key, value); } PauselessHashMap();  PauselessHashMap(int capacity);  PauselessHashMap(int capacity, float loadFactor);  PauselessHashMap(Map<? extends K, ? extends V> map); @Override void clear(); @Override Object clone(); @Override boolean containsKey(Object key); @Override @SuppressWarnings("unchecked") boolean containsValue(Object value); @Override Set<Map.Entry<K, V>> entrySet(); @Override V get(Object key); @Override boolean isEmpty(); @Override Set<K> keySet(); @Override V put(K key, V value); @Override void putAll(Map<? extends K, ? extends V> map); @Override V remove(Object key); @Override int size(); @Override Collection<V> values(); }
PauselessHashMap extends java.util.AbstractMap<K, V> implements Map<K, V>,
        Cloneable, Serializable { @Override public V put(K key, V value) { return putImpl(key, value); } PauselessHashMap();  PauselessHashMap(int capacity);  PauselessHashMap(int capacity, float loadFactor);  PauselessHashMap(Map<? extends K, ? extends V> map); @Override void clear(); @Override Object clone(); @Override boolean containsKey(Object key); @Override @SuppressWarnings("unchecked") boolean containsValue(Object value); @Override Set<Map.Entry<K, V>> entrySet(); @Override V get(Object key); @Override boolean isEmpty(); @Override Set<K> keySet(); @Override V put(K key, V value); @Override void putAll(Map<? extends K, ? extends V> map); @Override V remove(Object key); @Override int size(); @Override Collection<V> values();  }