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