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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart

Issue 14173003: Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 mirrors; 5 library mirrors;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:uri'; 8 import 'dart:uri';
9 9
10 // TODO(rnystrom): Use "package:" URL (#4968). 10 // TODO(rnystrom): Use "package:" URL (#4968).
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 int get length; 162 int get length;
163 } 163 }
164 164
165 /** 165 /**
166 * Specialized [InstanceMirror] used for reflection on constant maps. 166 * Specialized [InstanceMirror] used for reflection on constant maps.
167 */ 167 */
168 abstract class MapInstanceMirror implements InstanceMirror { 168 abstract class MapInstanceMirror implements InstanceMirror {
169 /** 169 /**
170 * Returns a collection containing all the keys in the map. 170 * Returns a collection containing all the keys in the map.
171 */ 171 */
172 Collection<String> get keys; 172 Iterable<String> get keys;
173 173
174 /** 174 /**
175 * Returns a future on the instance mirror of the value for the given key or 175 * Returns a future on the instance mirror of the value for the given key or
176 * null if key is not in the map. 176 * null if key is not in the map.
177 */ 177 */
178 Future<InstanceMirror> operator[](String key); 178 Future<InstanceMirror> operator[](String key);
179 179
180 /** 180 /**
181 * The number of {key, value} pairs in the map. 181 * The number of {key, value} pairs in the map.
182 */ 182 */
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 /** 691 /**
692 * Returns the URI where the source originated. 692 * Returns the URI where the source originated.
693 */ 693 */
694 Uri get sourceUri; 694 Uri get sourceUri;
695 695
696 /** 696 /**
697 * Returns the text of this source. 697 * Returns the text of this source.
698 */ 698 */
699 String get sourceText; 699 String get sourceText;
700 } 700 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698