Method capacity()
Return type: int
Member of: java.lang.StringBuffer
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 if(sbuf.capacity() > MAX_CAPACITY) {
2 if (_buf.capacity() < cap) {
3 if(buf.capacity() > UPPER_LIMIT) {
4 if(sbuf.capacity() > MAX_CAPACITY) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.