| 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
|
|
|