| Index: corelib/src/implementation/string.dart
|
| diff --git a/corelib/src/strings.dart b/corelib/src/implementation/string.dart
|
| similarity index 66%
|
| copy from corelib/src/strings.dart
|
| copy to corelib/src/implementation/string.dart
|
| index 9462ee10eb9fc7a76f7e98f8c04f0b095f4bab52..4e23e675596a98b2e097de645162a712ef6ce303 100644
|
| --- a/corelib/src/strings.dart
|
| +++ b/corelib/src/implementation/string.dart
|
| @@ -2,27 +2,25 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class Strings {
|
| -
|
| +class StringImplementation {
|
| /**
|
| * Factory implementation of String.fromCharCodes:
|
| * Allocates a new String for the specified [charCodes].
|
| */
|
| factory String.fromCharCodes(List<int> charCodes) {
|
| - return StringBase.createFromCharCodes(charCodes);
|
| + return _fromCharCodes(charCodes);
|
| }
|
|
|
| + external static String _fromCharCodes(List<int> charCodes);
|
| +
|
| /**
|
| * Joins all the given strings to create a new string.
|
| */
|
| - static String join(List<String> strings, String separator) {
|
| - return StringBase.join(strings, separator);
|
| - }
|
| + external static String join(List<String> strings, String separator);
|
|
|
| /**
|
| * Concatenates all the given strings to create a new string.
|
| */
|
| - static String concatAll(List<String> strings) {
|
| - return StringBase.concatAll(strings);
|
| - }
|
| + external static String concatAll(List<String> strings);
|
| +
|
| }
|
|
|