()
| 723 | |
| 724 | |
| 725 | public float removeChoice() { |
| 726 | if (count == 0) { |
| 727 | throw new ArrayIndexOutOfBoundsException("No entries in this IntList"); |
| 728 | } |
| 729 | int index = (int) (Math.random() * count); |
| 730 | return remove(index); |
| 731 | } |
| 732 | |
| 733 | |
| 734 | public FloatList copy() { |