Lines Matching defs:map
30 private final LinkedHashMap<K, V> map;
52 this.map = new LinkedHashMap<K, V>(0, 0.75f, true);
68 mapValue = map.get(key);
77 * Attempt to create a value. This may take a long time, and the map
79 * added to the map while create() was working, we leave that value in
80 * the map and release the created value.
90 mapValue = map.put(key, createdValue);
94 map.put(key, mapValue);
124 previous = map.put(key, value);
150 if (size < 0 || (map.isEmpty() && size != 0)) {
155 if (size <= maxSize || map.isEmpty()) {
159 Map.Entry<K, V> toEvict = map.entrySet().iterator().next();
162 map.remove(key);
183 previous = map.remove(key);
317 return new LinkedHashMap<K, V>(map);