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

Side by Side Diff: sdk/lib/_collection_dev/iterable.dart

Issue 18342003: Properly hiding import of deprecate from collection-dev. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 part of dart._collection.dev; 5 part of dart._collection.dev;
6 6
7 7
8 // This is a hack to make @deprecated work in dart:io. Don't remove or use this, 8 // This is a hack to make @deprecated work in dart:io. Don't remove or use this,
9 // unless coordinated with either me or the core library team. Thanks! 9 // unless coordinated with either me or the core library team. Thanks!
10 // TODO(ajohnsen): Remove at the 11th of Auguest 2013. 10 // TODO(ajohnsen): Remove at the 11th of Auguest 2013.
11 // TODO(ajohnsen): Remove hide in sdk/lib/web_sql/dart2js/web_sql_dart2js.dart. 11 // TODO(ajohnsen): Remove hide in:
12 // TODO(ajohnsen): Remove hide in sdk/lib/html/dart2js/html_dart2js.dart. 12 // tools/dom/templates/html/dart2js/html_dart2js.darttemplate
13 // TODO(ajohnsen): Remove hide in 13 // tools/dom/templates/html/dart2js/svg_dart2js.darttemplate
14 // sdk/lib/web_audio/dart2js/web_audio_dart2js.dart. 14 // tools/dom/templates/html/dart2js/web_audio_dart2js.darttemplate
15 // tools/dom/templates/html/dart2js/web_gl_dart2js.darttemplate
16 // tools/dom/templates/html/dart2js/web_sql_dart2js.darttemplate
17 // tools/dom/templates/html/dartium/html_dartium.darttemplate
18 // tools/dom/templates/html/dartium/svg_dartium.darttemplate
19 // tools/dom/templates/html/dartium/web_audio_dartium.darttemplate
20 // tools/dom/templates/html/dartium/web_gl_dartium.darttemplate
21 // tools/dom/templates/html/dartium/web_sql_dartium.darttemplate
22
15 const deprecated = 0; 23 const deprecated = 0;
16 24
17 /** 25 /**
18 * An [Iterable] for classes that have efficient [length] and [elementAt]. 26 * An [Iterable] for classes that have efficient [length] and [elementAt].
19 * 27 *
20 * All other methods are implemented in terms of [length] and [elementAt], 28 * All other methods are implemented in terms of [length] and [elementAt],
21 * including [iterator]. 29 * including [iterator].
22 */ 30 */
23 abstract class ListIterable<E> extends IterableBase<E> { 31 abstract class ListIterable<E> extends IterableBase<E> {
24 int get length; 32 int get length;
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 1072
1065 static Set setDifference(Set set, Set other, Set result) { 1073 static Set setDifference(Set set, Set other, Set result) {
1066 for (var element in set) { 1074 for (var element in set) {
1067 if (!other.contains(element)) { 1075 if (!other.contains(element)) {
1068 result.add(element); 1076 result.add(element);
1069 } 1077 }
1070 } 1078 }
1071 return result; 1079 return result;
1072 } 1080 }
1073 } 1081 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698