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