Method ensureCapacity(int minimumCapacity)
Return type: void
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 listOut[i].ensureCapacity(INITIAL_BUFFER_CAPACITY);
2 listOut[i].ensureCapacity(minimumCapacity);
3 theBuffer.ensureCapacity(Length);
4 sbuf.ensureCapacity(p_input.length());
5 sbuf.ensureCapacity(x.length());
6 data.ensureCapacity(len);
7 _buf.ensureCapacity(cap);
8 dec.ensureCapacity(str.length());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.