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

Unified Diff: pkg/analyzer/lib/src/generated/utilities_collection.dart

Issue 322603002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/utilities_collection.dart
diff --git a/pkg/analyzer/lib/src/generated/utilities_collection.dart b/pkg/analyzer/lib/src/generated/utilities_collection.dart
index 0ba35d329f2fafa59ef01cf354b00a8ac6b7a10e..1929f968562a153e64c07887bf07ed3a0c9ff287 100644
--- a/pkg/analyzer/lib/src/generated/utilities_collection.dart
+++ b/pkg/analyzer/lib/src/generated/utilities_collection.dart
@@ -7,6 +7,7 @@
library engine.utilities.collection;
+import 'dart:collection';
import 'java_core.dart';
import 'scanner.dart' show Token;
@@ -94,7 +95,7 @@ class DirectedGraph<N> {
* to a set of tails. Nodes that are not the head of any edge are represented by an entry mapping
* the node to an empty set of tails.
*/
- Map<N, Set<N>> _edges = new Map<N, Set<N>>();
+ HashMap<N, Set<N>> _edges = new HashMap<N, Set<N>>();
/**
* Add an edge from the given head node to the given tail node. Both nodes will be a part of the
@@ -355,7 +356,7 @@ class DirectedGraph_SccFinder<N> {
/**
* A table mapping nodes to information about the nodes that is used by this algorithm.
*/
- Map<N, DirectedGraph_NodeInfo<N>> _nodeMap = new Map<N, DirectedGraph_NodeInfo<N>>();
+ HashMap<N, DirectedGraph_NodeInfo<N>> _nodeMap = new HashMap<N, DirectedGraph_NodeInfo<N>>();
/**
* A list of all strongly connected components found, in topological sort order (each node in a
@@ -638,7 +639,7 @@ class TokenMap {
* One possibility is a pair of parallel arrays, with keys being sorted by their offset and a
* cursor indicating where to start searching.
*/
- Map<Token, Token> _map = new Map<Token, Token>();
+ HashMap<Token, Token> _map = new HashMap<Token, Token>();
/**
* Return the token that is mapped to the given token, or `null` if there is no token
« no previous file with comments | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698