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

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

Issue 1980573003: fix all instances of "the the" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/core/iterable.dart ('k') | sdk/lib/core/uri.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.core; 5 part of dart.core;
6 6
7 /** 7 /**
8 * A collection of objects in which each object can occur only once. 8 * A collection of objects in which each object can occur only once.
9 * 9 *
10 * That is, for each object of the element type, the object is either considered 10 * That is, for each object of the element type, the object is either considered
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 /** 174 /**
175 * Returns a new set which contains all the elements of this set and [other]. 175 * Returns a new set which contains all the elements of this set and [other].
176 * 176 *
177 * That is, the returned set contains all the elements of this [Set] and 177 * That is, the returned set contains all the elements of this [Set] and
178 * all the elements of [other]. 178 * all the elements of [other].
179 */ 179 */
180 Set<E> union(Set<E> other); 180 Set<E> union(Set<E> other);
181 181
182 /** 182 /**
183 * Returns a new set with the the elements of this that are not in [other]. 183 * Returns a new set with the elements of this that are not in [other].
184 * 184 *
185 * That is, the returned set contains all the elements of this [Set] that 185 * That is, the returned set contains all the elements of this [Set] that
186 * are not elements of [other] according to `other.contains`. 186 * are not elements of [other] according to `other.contains`.
187 */ 187 */
188 Set<E> difference(Set<E> other); 188 Set<E> difference(Set<E> other);
189 189
190 /** 190 /**
191 * Removes all elements in the set. 191 * Removes all elements in the set.
192 */ 192 */
193 void clear(); 193 void clear();
194 194
195 /* Creates a [Set] with the same elements and behavior as this `Set`. 195 /* Creates a [Set] with the same elements and behavior as this `Set`.
196 * 196 *
197 * The returned set behaves the same as this set 197 * The returned set behaves the same as this set
198 * with regard to adding and removing elements. 198 * with regard to adding and removing elements.
199 * It initially contains the same elements. 199 * It initially contains the same elements.
200 * If this set specifies an ordering of the elements, 200 * If this set specifies an ordering of the elements,
201 * the returned set will have the same order. 201 * the returned set will have the same order.
202 */ 202 */
203 Set<E> toSet(); 203 Set<E> toSet();
204 } 204 }
OLDNEW
« no previous file with comments | « sdk/lib/core/iterable.dart ('k') | sdk/lib/core/uri.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698