Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.5k
Randomize.Array2D
Jason Park edited this pageJul 13, 2018 ·1 revision
Create a random two-dimensional array.Usage
| Name | Description | |
|---|---|---|
| Randomize.Array2D | The array would have a size ofN xM, and each value would be randomized byrandomizer. | Usage |
newRandomize.Array2D(intN =10,intM =10,Randomizerrandomizer =newInteger()) | ||
| sorted | Each row of the array would be sorted ifsorted istrue. | Usage |
Randomize.Array2Dsorted(booleansorted =true) | ||
| create | Create a random two-dimensional array. | Usage |
Object[][]create() | ||