public void clear() {
        final int capacity = keys.length;
        Arrays.fill(keys, 0);
        Arrays.fill(values, 0);
        Arrays.fill(states, FREE);
        size = 0;
        mask   = capacity - 1;
        count = 0;
    }
public void clear ( ) { final int capacity = keys . length ; Arrays . fill ( keys , 0 ) ; Arrays . fill ( values , 0 ) ; Arrays . fill ( states , FREE ) ; size = 0 ; mask = capacity - 1 ; count = 0 ; }
Removes all entries from the hash map.