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

Side by Side Diff: lib/core/string.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 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 | « lib/core/sequences.dart ('k') | lib/core/string_buffer.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 /** 5 /**
6 * The String class represents character strings. Strings are 6 * The String class represents character strings. Strings are
7 * immutable. A string is represented by a list of 32-bit Unicode 7 * immutable. A string is represented by a list of 32-bit Unicode
8 * scalar character codes accessible through the [charCodeAt] or the 8 * scalar character codes accessible through the [charCodeAt] or the
9 * [charCodes] method. 9 * [charCodes] method.
10 */ 10 */
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 /** 57 /**
58 * Returns the last location of [other] in this string, searching 58 * Returns the last location of [other] in this string, searching
59 * backward starting at [start] (inclusive). 59 * backward starting at [start] (inclusive).
60 * Returns -1 if [other] could not be found. 60 * Returns -1 if [other] could not be found.
61 */ 61 */
62 int lastIndexOf(String other, [int start]); 62 int lastIndexOf(String other, [int start]);
63 63
64 /** 64 /**
65 * Returns whether this string is empty. 65 * Returns whether this string is empty.
66 */ 66 */
67 bool isEmpty(); 67 bool get isEmpty;
68 68
69 /** 69 /**
70 * Creates a new string by concatenating this string with [other]. 70 * Creates a new string by concatenating this string with [other].
71 */ 71 */
72 String concat(String other); 72 String concat(String other);
73 73
74 /** 74 /**
75 * Returns a substring of this string in the given range. 75 * Returns a substring of this string in the given range.
76 * [startIndex] is inclusive and [endIndex] is exclusive. 76 * [startIndex] is inclusive and [endIndex] is exclusive.
77 */ 77 */
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 * where all characters are made lower case. Returns [:this:] otherwise. 124 * where all characters are made lower case. Returns [:this:] otherwise.
125 */ 125 */
126 String toLowerCase(); 126 String toLowerCase();
127 127
128 /** 128 /**
129 * If this string is not already all uper case, returns a new string 129 * If this string is not already all uper case, returns a new string
130 * where all characters are made upper case. Returns [:this:] otherwise. 130 * where all characters are made upper case. Returns [:this:] otherwise.
131 */ 131 */
132 String toUpperCase(); 132 String toUpperCase();
133 } 133 }
OLDNEW
« no previous file with comments | « lib/core/sequences.dart ('k') | lib/core/string_buffer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698