OLD | NEW |
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; |
| 6 |
5 /** | 7 /** |
6 * The String class represents character strings. Strings are | 8 * The String class represents character strings. Strings are |
7 * immutable. A string is represented by a list of 32-bit Unicode | 9 * immutable. A string is represented by a list of 32-bit Unicode |
8 * scalar character codes accessible through the [charCodeAt] or the | 10 * scalar character codes accessible through the [charCodeAt] or the |
9 * [charCodes] method. | 11 * [charCodes] method. |
10 */ | 12 */ |
11 abstract class String implements Comparable, Pattern, Sequence<String> { | 13 abstract class String implements Comparable, Pattern, Sequence<String> { |
12 /** | 14 /** |
13 * Allocates a new String for the specified [charCodes]. | 15 * Allocates a new String for the specified [charCodes]. |
14 */ | 16 */ |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 * where all characters are made lower case. Returns [:this:] otherwise. | 127 * where all characters are made lower case. Returns [:this:] otherwise. |
126 */ | 128 */ |
127 String toLowerCase(); | 129 String toLowerCase(); |
128 | 130 |
129 /** | 131 /** |
130 * If this string is not already all uper case, returns a new string | 132 * If this string is not already all uper case, returns a new string |
131 * where all characters are made upper case. Returns [:this:] otherwise. | 133 * where all characters are made upper case. Returns [:this:] otherwise. |
132 */ | 134 */ |
133 String toUpperCase(); | 135 String toUpperCase(); |
134 } | 136 } |
OLD | NEW |