PauselessHashMap extends java.util.AbstractMap<K, V> implements Map<K, V>,
        Cloneable, Serializable { @Override public boolean isEmpty() { return elementCount == 0; } 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();  }
@Test public void test_isEmpty() { assertTrue("Returned false for new map", new PauselessHashMap().isEmpty()); assertTrue("Returned true for non-empty", !hm.isEmpty()); }