Returns the index of the first bit that is set to true that occurs on or after the specified starting index. If no such bit exists then -1 is returned. To iterate over the true bits in a BitSet, use the following loop: {@code for (int i = bs.nextSetBit(0);
(int fromIndex)
| 115 | * @throws IndexOutOfBoundsException if the specified index is negative |
| 116 | */ |
| 117 | int nextSetBit(int fromIndex); |
| 118 | |
| 119 | /** |
| 120 | * Returns the index of the first bit that is set to {@code false} |
no outgoing calls