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

Side by Side Diff: sdk/lib/core/string.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
« no previous file with comments | « sdk/lib/core/set.dart ('k') | sdk/lib/html/dart2js/html_dart2js.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) 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 part of dart.core; 5 part of dart.core;
6 6
7 /** 7 /**
8 * The String class represents sequences of characters. Strings are 8 * The String class represents sequences of characters. Strings are
9 * immutable. A string is represented by a sequence of Unicode UTF-16 9 * immutable. A string is represented by a sequence of Unicode UTF-16
10 * code units accessible through the [codeUnitAt] or the 10 * code units accessible through the [codeUnitAt] or the
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 * Creates a new string by concatenating this string with [other]. 132 * Creates a new string by concatenating this string with [other].
133 * 133 *
134 * A sequence of strings can be concatenated by using [Iterable.join]: 134 * A sequence of strings can be concatenated by using [Iterable.join]:
135 * 135 *
136 * var strings = ['foo', 'bar', 'geez']; 136 * var strings = ['foo', 'bar', 'geez'];
137 * var concatenated = strings.join(); 137 * var concatenated = strings.join();
138 */ 138 */
139 String operator +(String other); 139 String operator +(String other);
140 140
141 /** 141 /**
142 * *Deprecated* Use [operator+] instead.
143 */
144 @deprecated
145 String concat(String other);
146
147 /**
148 * Returns a slice of this string from [startIndex] to [endIndex]. 142 * Returns a slice of this string from [startIndex] to [endIndex].
149 * 143 *
150 * If [startIndex] is omitted, it defaults to the start of the string. 144 * If [startIndex] is omitted, it defaults to the start of the string.
151 * 145 *
152 * If [endIndex] is omitted, it defaults to the end of the string. 146 * If [endIndex] is omitted, it defaults to the end of the string.
153 * 147 *
154 * If either index is negative, it's taken as a negative index from the 148 * If either index is negative, it's taken as a negative index from the
155 * end of the string. Their effective value is computed by adding the 149 * end of the string. Their effective value is computed by adding the
156 * negative value to the [length] of the string. 150 * negative value to the [length] of the string.
157 * 151 *
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 _position = position - 1; 455 _position = position - 1;
462 _currentCodePoint = _combineSurrogatePair(prevCodeUnit, codeUnit); 456 _currentCodePoint = _combineSurrogatePair(prevCodeUnit, codeUnit);
463 return true; 457 return true;
464 } 458 }
465 } 459 }
466 _position = position; 460 _position = position;
467 _currentCodePoint = codeUnit; 461 _currentCodePoint = codeUnit;
468 return true; 462 return true;
469 } 463 }
470 } 464 }
OLDNEW
« no previous file with comments | « sdk/lib/core/set.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698