public void set(K key, V value) {
        if(!super.containsKey(key)){
            if(count == capacity){
                --count;
                K keyDel = super.keySet().iterator().next();
                super.remove(keyDel);
            }
            super.put(key, value);
            ++count;
        }else{
            super.put(key, value);
        }
    }