Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: pkg/analyzer/lib/src/util/lru_map.dart

Issue 1513643009: Clean up package imports and library names (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/src/util/asserts.dart ('k') | pkg/analyzer/lib/src/util/utilities_timing.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library engine.utilities.lru_cache; 5 library analyzer.src.util.lru_cache;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 /** 9 /**
10 * This handler is notified when an item is evicted from the cache. 10 * This handler is notified when an item is evicted from the cache.
11 */ 11 */
12 typedef EvictionHandler<K, V>(K key, V value); 12 typedef EvictionHandler<K, V>(K key, V value);
13 13
14 /** 14 /**
15 * A hash-table based cache implementation. 15 * A hash-table based cache implementation.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 } 54 }
55 } 55 }
56 56
57 /** 57 /**
58 * Removes the association for the given [key]. 58 * Removes the association for the given [key].
59 */ 59 */
60 void remove(K key) { 60 void remove(K key) {
61 _map.remove(key); 61 _map.remove(key);
62 } 62 }
63 } 63 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/util/asserts.dart ('k') | pkg/analyzer/lib/src/util/utilities_timing.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698