- Timestamp:
- 2020-03-08T16:12:19+01:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/RecentTagCollection.java
r16080 r16082 24 24 25 25 RecentTagCollection(final int capacity) { 26 recentTags = new LruCache (capacity);26 recentTags = new LruCache<>(capacity); 27 27 tagsToIgnore = SearchCompiler.Never.INSTANCE; 28 28 } -
trunk/src/org/openstreetmap/josm/gui/util/LruCache.java
r16080 r16082 7 7 /** 8 8 * LRU cache 9 * @apiNote http://java-planet.blogspot.com/2005/08/how-to-set-up-simple-lru-cache-using.html 9 * @see <a href="http://java-planet.blogspot.com/2005/08/how-to-set-up-simple-lru-cache-using.html"> 10 * Java Planet: How to set up a simple LRU cache using LinkedHashMap</a> 10 11 */ 11 12 public final class LruCache<K, V> extends LinkedHashMap<K, V> {
Note:
See TracChangeset
for help on using the changeset viewer.