Lines Matching defs:capacity
66 * Every string buffer has a capacity. As long as the length of the
68 * the capacity, it is not necessary to allocate a new internal
93 * initial capacity of 16 characters.
101 * the specified initial capacity.
103 * @param capacity the initial capacity.
104 * @exception NegativeArraySizeException if the <code>capacity</code>
107 public StringBuffer(int capacity) {
108 super(capacity);
113 * specified string. The initial capacity of the string buffer is
126 * as the specified <code>CharSequence</code>. The initial capacity of
131 * less than or equal to zero, then an empty buffer of capacity
147 public synchronized int capacity() {