()
| 692 | |
| 693 | |
| 694 | public long removeChoice() { |
| 695 | if (count == 0) { |
| 696 | throw new ArrayIndexOutOfBoundsException("No entries in this IntList"); |
| 697 | } |
| 698 | int index = (int) (Math.random() * count); |
| 699 | return remove(index); |
| 700 | } |
| 701 | |
| 702 | |
| 703 | public LongList copy() { |