Lines Matching defs:map
31 private final LinkedHashMap<K, V> map;
53 this.map = new LinkedHashMap<K, V>(0, 0.75f, true);
85 mapValue = map.get(key);
94 * Attempt to create a value. This may take a long time, and the map
96 * added to the map while create() was working, we leave that value in
97 * the map and release the created value.
107 mapValue = map.put(key, createdValue);
111 map.put(key, mapValue);
141 previous = map.put(key, value);
167 if (size < 0 || (map.isEmpty() && size != 0)) {
172 if (size <= maxSize || map.isEmpty()) {
176 Map.Entry<K, V> toEvict = map.entrySet().iterator().next();
179 map.remove(key);
200 previous = map.remove(key);
335 return new LinkedHashMap<K, V>(map);