Add note about uninitialized data in ArrayList.Resize / ResizeArray.
This commit is contained in:
parent
1dd84e3ed3
commit
72ddd865d1
@ -78,7 +78,8 @@ methodmap ArrayList < Handle {
|
||||
public native ArrayList Clone();
|
||||
|
||||
// Resizes an array. If the size is smaller than the current size, the
|
||||
// array is truncated.
|
||||
// array is truncated. If the size is larger than the current size,
|
||||
// the data at the additional indexes will not be initialized.
|
||||
//
|
||||
// @param newsize New size.
|
||||
public native void Resize(int newsize);
|
||||
@ -252,7 +253,8 @@ native Handle CloneArray(Handle array);
|
||||
|
||||
/**
|
||||
* Resizes an array. If the size is smaller than the current size,
|
||||
* the array is truncated.
|
||||
* the array is truncated. If the size is larger than the current size,
|
||||
* the data at the additional indexes will not be initialized.
|
||||
*
|
||||
* @param array Array Handle.
|
||||
* @param newsize New size.
|
||||
|
Loading…
Reference in New Issue
Block a user