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