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

Unified Diff: corelib/src/string_buffer.dart

Issue 10092009: Add addCharCode to StringBuffer interface. Already implemented by all implementations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « no previous file | no next file » | 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
index 5d2864107174ebbb6d6d0436e858cbcd4ff0456d..c510ec755f74c739eef363b76544d5b4e027e36e 100644
--- a/corelib/src/string_buffer.dart
+++ b/corelib/src/string_buffer.dart
@@ -24,11 +24,17 @@ interface StringBuffer default StringBufferImpl {
bool isEmpty();
/**
- * Adds [obj] to the buffer. Returns [:this:].
+ * 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<Object> objects);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698