( begin auto-generated from expand.xml ) Increases the size of an array. By default, this function doubles the size of the array, but the optional newSize parameter provides precise control over the increase in size. When using an array of objects, the data returned from the func
(boolean list[])
| 8396 | * @see PApplet#shorten(boolean[]) |
| 8397 | */ |
| 8398 | static public boolean[] expand(boolean list[]) { |
| 8399 | return expand(list, list.length > 0 ? list.length << 1 : 1); |
| 8400 | } |
| 8401 | |
| 8402 | /** |
| 8403 | * @param newSize new size for the array |
no test coverage detected