class CapacityLruLinkedHashMap extends LinkedHashMap<K, V> {

    @Override
    protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
        return size() > capacity;
    }

    protected  CapacityLruLinkedHashMap(int capacity, int initialCapacity,
        float loadFactor);

}