@Override
    public boolean equals(Object other) {
        if ( ! (other instanceof CopyOnWriteHashMap)) return false;
        return this.map.equals(((CopyOnWriteHashMap<?, ?>)other).map);
    }
Override to avoid using iterator.remove
vespajlib/src/main/java/com/yahoo/collections/CopyOnWriteHashMap.java