| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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.collection; | 5 library analyzer.src.generated.utilities_collection; |
| 6 | 6 |
| 7 import 'dart:collection'; |
| 7 import "dart:math" as math; | 8 import "dart:math" as math; |
| 8 import 'dart:collection'; | |
| 9 | 9 |
| 10 import 'java_core.dart'; | 10 import 'package:analyzer/src/generated/java_core.dart'; |
| 11 import 'scanner.dart' show Token; | 11 import 'package:analyzer/src/generated/scanner.dart' show Token; |
| 12 | 12 |
| 13 /** | 13 /** |
| 14 * The class `BooleanArray` defines methods for operating on integers as if they
were arrays | 14 * The class `BooleanArray` defines methods for operating on integers as if they
were arrays |
| 15 * of booleans. These arrays can be indexed by either integers or by enumeration
constants. | 15 * of booleans. These arrays can be indexed by either integers or by enumeration
constants. |
| 16 */ | 16 */ |
| 17 class BooleanArray { | 17 class BooleanArray { |
| 18 /** | 18 /** |
| 19 * Return the value of the element at the given index. | 19 * Return the value of the element at the given index. |
| 20 * | 20 * |
| 21 * @param array the array being accessed | 21 * @param array the array being accessed |
| (...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 /** | 734 /** |
| 735 * Map the key to the value. | 735 * Map the key to the value. |
| 736 * | 736 * |
| 737 * @param key the token being mapped to the value | 737 * @param key the token being mapped to the value |
| 738 * @param value the token to which the key will be mapped | 738 * @param value the token to which the key will be mapped |
| 739 */ | 739 */ |
| 740 void put(Token key, Token value) { | 740 void put(Token key, Token value) { |
| 741 _map[key] = value; | 741 _map[key] = value; |
| 742 } | 742 } |
| 743 } | 743 } |
| OLD | NEW |