Return a random value from the list.
()
| 703 | * Return a random value from the list. |
| 704 | */ |
| 705 | public float random() { |
| 706 | if (count == 0) { |
| 707 | throw new ArrayIndexOutOfBoundsException("No entries in this FloatList"); |
| 708 | } |
| 709 | return data[(int) (Math.random() * count)]; |
| 710 | } |
| 711 | |
| 712 | |
| 713 | // /** |
no outgoing calls
no test coverage detected