class PauselessHashMap extends java.util.AbstractMap<K, V> implements Map<K, V>,
        Cloneable, Serializable {

    @Override
    @SuppressWarnings("unchecked")
    public boolean containsValue(Object value) {
        if (value != null) {
            for (int i = 0; i < elementData.length; i++) {
                Entry<K, V> entry = elementData[i];
                while (entry != null) {
                    if (areEqualValues(value, entry.value)) {
                        return true;
                    }
                    entry = entry.next;
                }
            }
        } else {
            for (int i = 0; i < elementData.length; i++) {
                Entry<K, V> entry = elementData[i];
                while (entry != null) {
                    if (entry.value == null) {
                        return true;
                    }
                    entry = entry.next;
                }
            }
        }

        // Look in the resizing into Entry store, if one exists:
        if (resizingIntoElementData == null)
            return false;

        if (value != null) {
            for (int i = 0; i < resizingIntoElementData.length; i++) {
                Entry<K, V> entry = resizingIntoElementData[i];
                while (entry != null) {
                    if (areEqualValues(value, entry.value)) {
                        return true;
                    }
                    entry = entry.next;
                }
            }
        } else {
            for (int i = 0; i < resizingIntoElementData.length; i++) {
                Entry<K, V> entry = resizingIntoElementData[i];
                while (entry != null) {
                    if (entry.value == null) {
                        return true;
                    }
                    entry = entry.next;
                }
            }
        }

        return false;
    }

    public  PauselessHashMap();
    public  PauselessHashMap(int capacity);
    public  PauselessHashMap(int capacity, float loadFactor);
    public  PauselessHashMap(Map<? extends K, ? extends V> map);

}