c=capacity;
            map=new LinkedHashMap<Integer, Integer>(1, 0.75f,true) {
                @Override
                protected boolean removeEldestEntry(Map.Entry<Integer, Integer> e) {
                    return this.size()>c;
                }
    	    }