Lines Matching refs:map
30 private final LinkedHashMap<K, V> map;
52 this.map = new LinkedHashMap<K, V>(0, 0.75f, true);
84 mapValue = map.get(key);
93 * Attempt to create a value. This may take a long time, and the map
95 * added to the map while create() was working, we leave that value in
96 * the map and release the created value.
106 mapValue = map.put(key, createdValue);
110 map.put(key, mapValue);
140 previous = map.put(key, value);
166 if (size < 0 || (map.isEmpty() && size != 0)) {
171 if (size <= maxSize || map.isEmpty()) {
175 Map.Entry<K, V> toEvict = map.entrySet().iterator().next();
178 map.remove(key);
199 previous = map.remove(key);
334 return new LinkedHashMap<K, V>(map);