()
| 75 | |
| 76 | // return an independent iterator over items in random order |
| 77 | public Iterator<Item> iterator() { |
| 78 | return new RandomizedQueueIterator(); |
| 79 | } |
| 80 | |
| 81 | private class RandomizedQueueIterator implements Iterator<Item> { |
| 82 | private int i; |
nothing calls this directly
no outgoing calls
no test coverage detected