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

Side by Side Diff: sdk/lib/collection/set.dart

Issue 2973823002: Revert "Remaining private libs" (Closed)
Patch Set: Created 3 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
« no previous file with comments | « sdk/lib/collection/queue.dart ('k') | sdk/lib/collection/splay_tree.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) 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 /** 5 /**
6 * Base implementations of [Set]. 6 * Base implementations of [Set].
7 */ 7 */
8 part of "dart:collection"; 8 part of "collection.dart";
9 9
10 /** 10 /**
11 * Mixin implementation of [Set]. 11 * Mixin implementation of [Set].
12 * 12 *
13 * This class provides a base implementation of a `Set` that depends only 13 * This class provides a base implementation of a `Set` that depends only
14 * on the abstract members: [add], [contains], [lookup], [remove], 14 * on the abstract members: [add], [contains], [lookup], [remove],
15 * [iterator], [length] and [toSet]. 15 * [iterator], [length] and [toSet].
16 * 16 *
17 * Some of the methods assume that `toSet` creates a modifiable set. 17 * Some of the methods assume that `toSet` creates a modifiable set.
18 * If using this mixin for an unmodifiable set, 18 * If using this mixin for an unmodifiable set,
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 abstract class SetBase<E> extends SetMixin<E> { 301 abstract class SetBase<E> extends SetMixin<E> {
302 /** 302 /**
303 * Convert a `Set` to a string as `{each, element, as, string}`. 303 * Convert a `Set` to a string as `{each, element, as, string}`.
304 * 304 *
305 * Handles circular references where converting one of the elements 305 * Handles circular references where converting one of the elements
306 * to a string ends up converting [set] to a string again. 306 * to a string ends up converting [set] to a string again.
307 */ 307 */
308 static String setToString(Set set) => 308 static String setToString(Set set) =>
309 IterableBase.iterableToFullString(set, '{', '}'); 309 IterableBase.iterableToFullString(set, '{', '}');
310 } 310 }
OLDNEW
« no previous file with comments | « sdk/lib/collection/queue.dart ('k') | sdk/lib/collection/splay_tree.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698