version 1.13, 2002/07/19 21:18:23
|
version 1.14, 2002/07/19 23:00:25
|
|
|
/** Reserves memory for capacity elements. Notice that this does not | /** Reserves memory for capacity elements. Notice that this does not |
change the size of the array (size() returns what it did before). | change the size of the array (size() returns what it did before). |
If the capacity of the array is already greater or equal to the | If the capacity of the array is already greater or equal to the |
capacity argument, this method has no effect. After calling reserve(), |
capacity argument, this method has no effect. After calling |
getCapacity() returns a value which is greater or equal to the |
reserveCapacity(), getCapacity() returns a value which is greater |
capacity argument. |
or equal to the capacity argument. |
@param capacity defines the size that is to be reserved | @param capacity defines the size that is to be reserved |
*/ | */ |
void reserve(Uint32 capacity); |
void reserveCapacity(Uint32 capacity); |
| |
/** Make the size of the array grow by size elements. Thenew size will | /** Make the size of the array grow by size elements. Thenew size will |
be size() + size. The new elements (there are size of them) are | be size() + size. The new elements (there are size of them) are |