Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2155)

Unified Diff: corelib/src/string_buffer.dart

Issue 10890030: Move core and coreimpl from corelib/ to lib/core and lib/coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « corelib/src/string.dart ('k') | corelib/src/strings.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/string_buffer.dart
diff --git a/corelib/src/string_buffer.dart b/corelib/src/string_buffer.dart
deleted file mode 100644
index d67c5db40aa411a60192c433fa010fa845ce181b..0000000000000000000000000000000000000000
--- a/corelib/src/string_buffer.dart
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-/**
- * The StringBuffer class is useful for concatenating strings
- * efficiently. Only on a call to [toString] are the strings
- * concatenated to a single String.
- */
-interface StringBuffer default StringBufferImpl {
- /**
- * Creates the string buffer with an initial content.
- */
- StringBuffer([Object content]);
-
- /**
- * Returns the length of the buffer.
- */
- int get length();
-
- /**
- * Returns whether the buffer is empty.
- */
- bool isEmpty();
-
- /**
- * Converts [obj] to a string and adds it to the buffer. Returns [:this:].
- */
- StringBuffer add(Object obj);
-
- /**
- * Adds the string representation of [charCode] to the buffer.
- * Returns [this].
- */
- StringBuffer addCharCode(int charCode);
-
- /**
- * Adds all items in [objects] to the buffer. Returns [:this:].
- */
- StringBuffer addAll(Collection objects);
-
- /**
- * Clears the string buffer. Returns [:this:].
- */
- StringBuffer clear();
-
- /**
- * Returns the contents of buffer as a concatenated string.
- */
- String toString();
-}
« no previous file with comments | « corelib/src/string.dart ('k') | corelib/src/strings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698