Implementations of #computeNext must invoke this method when there are no elements left in the iteration. @return null; a convenience so your computeNext implementation can use the simple statement return endOfData();
()
| 134 | */ |
| 135 | |
| 136 | @CanIgnoreReturnValue |
| 137 | protected final T endOfData() { |
| 138 | state = State.DONE; |
| 139 | return null; |
| 140 | } |
| 141 | |
| 142 | @CanIgnoreReturnValue // TODO(kak): Should we remove this? Some people are using it to prefetch? |
| 143 | @Override |
no outgoing calls
no test coverage detected