18 #ifndef _DECAF_LANG_STRINGBUILDER_H_
19 #define _DECAF_LANG_STRINGBUILDER_H_
96 virtual int length()
const;
107 template<
typename POINTER>
110 if (pointer ==
NULL) {
113 doAppend(pointer->toString());
128 template<
typename TYPE>
131 if (pointer ==
NULL) {
134 doAppend(pointer->toString());
234 StringBuilder& append(
const char* value,
int offset,
int length);
326 template<
typename POINTER>
329 if (pointer ==
NULL) {
330 doInsert(index,
"null");
332 doInsert(index, pointer->toString());
349 template<
typename TYPE>
352 if (pointer ==
NULL) {
353 doInsert(index,
"null");
355 doInsert(index, pointer->toString());
542 StringBuilder& insert(
int index,
const char* value,
int offset,
int length);
A CharSequence is a readable sequence of char values.
Definition: CharSequence.h:36
#define NULL
Definition: Config.h:33
StringBuilder & insert(int index, const POINTER *pointer)
Inserts the string representation of the given object pointer.
Definition: StringBuilder.h:327
An object to which char sequences and values can be appended.
Definition: Appendable.h:42
A modifiable sequence of characters for use in creating and modifying Strings.
Definition: AbstractStringBuilder.h:40
An immutable sequence of characters.
Definition: String.h:57
#define DECAF_API
Definition: Config.h:29
StringBuffer is a variable size contiguous indexable array of characters.
Definition: StringBuffer.h:57
StringBuilder & append(const Pointer< TYPE > pointer)
Appends the string representation of the given object pointer.
Definition: StringBuilder.h:129
StringBuilder & append(const POINTER *pointer)
Appends the string representation of the given object pointer.
Definition: StringBuilder.h:108
A modifiable sequence of characters for use in creating and modifying Strings.
Definition: StringBuilder.h:51
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
StringBuilder & insert(int index, const Pointer< TYPE > pointer)
Inserts the string representation of the given object pointer.
Definition: StringBuilder.h:350