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 patch class _StringImpl { | 5 patch class _StringImpl { |
6 /* patch */ factory String.fromCharCodes(List<int> charCodes) { | 6 /* patch */ factory String.fromCharCodes(List<int> codePoints) { |
7 return _StringBase.createFromCharCodes(charCodes); | 7 return _StringBase.createFromCharCodes(codePoints); |
| 8 } |
| 9 |
| 10 /* patch */ factory String.fromCodeUnits(List<int> codeUnits) { |
| 11 return _StringBase.createFromCodeUnits(codeUnits); |
8 } | 12 } |
9 | 13 |
10 /* patch */ static String join(List<String> strings, String separator) { | 14 /* patch */ static String join(List<String> strings, String separator) { |
11 return _StringBase.join(strings, separator); | 15 return _StringBase.join(strings, separator); |
12 } | 16 } |
13 | 17 |
14 /* patch */ static String concatAll(List<String> strings) { | 18 /* patch */ static String concatAll(List<String> strings) { |
15 return _StringBase.concatAll(strings); | 19 return _StringBase.concatAll(strings); |
16 } | 20 } |
17 } | 21 } |
OLD | NEW |