1 Clazz.declarePackage ("com.stevesoft.pat.wrap");
\r
2 Clazz.load (["com.stevesoft.pat.BasicStringBufferLike", "java.lang.StringBuffer"], "com.stevesoft.pat.wrap.StringBufferWrap", ["com.stevesoft.pat.wrap.StringWrap"], function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
5 Clazz.instantialize (this, arguments);
\r
6 }, com.stevesoft.pat.wrap, "StringBufferWrap", null, com.stevesoft.pat.BasicStringBufferLike);
\r
7 Clazz.prepareFields (c$, function () {
\r
8 this.sb = new StringBuffer ();
\r
10 Clazz.overrideMethod (c$, "appendC",
\r
14 Clazz.overrideMethod (c$, "append",
\r
18 Clazz.defineMethod (c$, "length",
\r
20 return this.sb.length ();
\r
22 Clazz.overrideMethod (c$, "toString",
\r
24 return this.sb.toString ();
\r
26 Clazz.overrideMethod (c$, "toStringLike",
\r
28 return new com.stevesoft.pat.wrap.StringWrap (this.sb.toString ());
\r
30 Clazz.overrideMethod (c$, "unwrap",
\r