protected boolean removeEldestEntry(Map.Entry<K, MyEntry<V>> eldest) {
return size() > HelperCache.this.cacheSize;
}
};
}
<BUG>V get(K key) {
</BUG>
if (++queryCount >= queryCountBeforeCleanup) {
cleanup();
}

protected boolean removeEldestEntry(Map.Entry<K, MyEntry<V>> eldest) {
return size() > HelperCache.this.cacheSize;
}
};
}
public V get(K key) {
if (++queryCount >= queryCountBeforeCleanup) {
cleanup();
}
