Lines Matching refs:capacity
37 public LoadPathToFileCache(int capacity) {
38 cache = new LRUCache<String, String>(capacity);
116 private final int capacity;
118 LRUCache(int capacity) {
119 super(capacity, 0.75f, true);
120 this.capacity = capacity;
126 * Necessary to override because HashMap increases the capacity of the hashtable before
127 * inserting the elements. However, here we have set the max capacity already and will instead
128 * remove eldest elements instead of increasing capacity.
145 return size() > capacity;