()
| 234 | } |
| 235 | |
| 236 | public MaskInfo next() { |
| 237 | int currentToIndex = Math.min(toIndex, (basePartition + currentPartitionOffset + 1) * BITS_PER_LONG); |
| 238 | long mask = getTrueMask(currentFirstIndex, currentToIndex); |
| 239 | MaskInfo info = new MaskInfo(mask, basePartition + currentPartitionOffset); |
| 240 | currentFirstIndex = currentToIndex; |
| 241 | currentPartitionOffset++; |
| 242 | return info; |
| 243 | } |
| 244 | |
| 245 | public boolean hasNext() { |
| 246 | return currentPartitionOffset < numPartitionsToTraverse; |
no test coverage detected