public class SmartBuffer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected char[] |
m_buff |
protected int |
m_length |
boolean |
m_shared |
| Modifier and Type | Method and Description |
|---|---|
SmartBuffer |
append(char ch) |
SmartBuffer |
append(char[] c) |
SmartBuffer |
append(char[] str,
int o,
int len) |
SmartBuffer |
append(double d)
Appends the string representation of a double value to the buffer
|
SmartBuffer |
append(int i) |
SmartBuffer |
append(String str) |
int |
capacity() |
char |
charAt(int index)
The specified character of the sequence currently represented by
the string buffer, as indicated by the
index argument,
is returned. |
void |
ensureCapacity(int minimumCapacity) |
int |
length() |
void |
reset() |
void |
setCharAt(int index,
char ch)
The character at the specified index of this string buffer is set
to
ch. |
String |
toString() |
public boolean m_shared
protected char[] m_buff
protected int m_length
public final SmartBuffer append(char ch)
ch - public final SmartBuffer append(int i)
i - public final void ensureCapacity(int minimumCapacity)
minimumCapacity - public SmartBuffer append(char[] str, int o, int len)
str - String arrayo - len - public SmartBuffer append(char[] c)
c - char arraypublic SmartBuffer append(String str)
str - public char charAt(int index)
index argument,
is returned. The first character of a string buffer is at index
0, the next at index 1, and so on, for
array indexing.
The index argument must be greater than or equal to
0, and less than the length of this string buffer.
index - the index of the desired character.IndexOutOfBoundsException - if index is
negative or greater than or equal to length().StringBuffer.length()public void setCharAt(int index,
char ch)
ch. The string buffer is altered to represent a new
character sequence that is identical to the old character sequence,
except that it contains the character ch at position
index.
The offset argument must be greater than or equal to
0, and less than the length of this string buffer.
index - the index of the character to modify.ch - the new character.IndexOutOfBoundsException - if index is
negative or greater than or equal to length().StringBuffer.length()public SmartBuffer append(double d)
d - public final int length()
public final int capacity()
public final void reset()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice