()
| 699 | |
| 700 | |
| 701 | public int removeChoice() { |
| 702 | if (count == 0) { |
| 703 | throw new ArrayIndexOutOfBoundsException("No entries in this IntList"); |
| 704 | } |
| 705 | int index = (int) (Math.random() * count); |
| 706 | return remove(index); |
| 707 | } |
| 708 | |
| 709 | |
| 710 | public IntList copy() { |
no test coverage detected