Clear the cache, calling #entryRemoved on each removed entry.
()
| 268 | * Clear the cache, calling {@link #entryRemoved} on each removed entry. |
| 269 | */ |
| 270 | public final void evictAll() { |
| 271 | trimToSize(-1); // -1 will evict 0-sized elements |
| 272 | } |
| 273 | |
| 274 | /** |
| 275 | * For caches that do not override {@link #sizeOf}, this returns the number |
no test coverage detected