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

Side by Side Diff: sdk/lib/collection/linked_hash_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/linked_hash_map.dart ('k') | sdk/lib/collection/linked_list.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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"; 5 part of "collection.dart";
6 6
7 /** 7 /**
8 * A [LinkedHashSet] is a hash-table based [Set] implementation. 8 * A [LinkedHashSet] is a hash-table based [Set] implementation.
9 * 9 *
10 * The `LinkedHashSet` also keep track of the order that elements were inserted 10 * The `LinkedHashSet` also keep track of the order that elements were inserted
11 * in, and iteration happens in first-to-last insertion order. 11 * in, and iteration happens in first-to-last insertion order.
12 * 12 *
13 * The elements of a `LinkedHashSet` must have consistent [Object.==] 13 * The elements of a `LinkedHashSet` must have consistent [Object.==]
14 * and [Object.hashCode] implementations. This means that the `==` operator 14 * and [Object.hashCode] implementations. This means that the `==` operator
15 * must define a stable equivalence relation on the elements (reflexive, 15 * must define a stable equivalence relation on the elements (reflexive,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 * 117 *
118 * The elements are iterated in insertion order. 118 * The elements are iterated in insertion order.
119 */ 119 */
120 void forEach(void action(E element)); 120 void forEach(void action(E element));
121 121
122 /** 122 /**
123 * Provides an iterator that iterates over the elements in insertion order. 123 * Provides an iterator that iterates over the elements in insertion order.
124 */ 124 */
125 Iterator<E> get iterator; 125 Iterator<E> get iterator;
126 } 126 }
OLDNEW
« no previous file with comments | « sdk/lib/collection/linked_hash_map.dart ('k') | sdk/lib/collection/linked_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698