|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.meta.java.lang.StringBufferSugar
Untamed: A sweetener defining extra messages that may be e-sent to a StringBuffer.
Constructor Summary | |
private |
StringBufferSugar()
prevents instantiation |
Method Summary | |
static char |
get(StringBuffer self,
int index)
Enabled: "bar"[2] == 'r' |
static void |
iterate(StringBuffer self,
AssocFunc func)
Enabled: Considered as a map, an array is a ConstMap from indices to values, so iterate() will call func with each successive pair of index and value, in ascending index order. |
static int |
size(StringBuffer self)
Enabled: |
static String |
snapshot(StringBuffer self)
Enabled: Just like the Java-level toString, but avoids confusion with Object.toString(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private StringBufferSugar()
Method Detail |
public static char get(StringBuffer self, int index)
public static void iterate(StringBuffer self, AssocFunc func)
public static int size(StringBuffer self)
public static String snapshot(StringBuffer self)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |