public static class ImmutableBitSet.SelectiveBitSet extends Object implements ImmutableBitSet
ImmutableBitSet.AllTrueBitSet, ImmutableBitSet.SelectiveBitSetPOSITION_NOT_SET| Modifier and Type | Method and Description |
|---|---|
int |
nextSetBit(int fromPosition) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, newBitSet, newBitSet, newBitSetWithAllPositionsTruepublic int nextSetBit(int fromPosition)
nextSetBit in interface ImmutableBitSetfromPosition - The next position that is set, starting (inclusive) from the given position. So, test if a
position is set or not "boolean present = (i == immutableBitSet.nextSetBit(i))" or
simply use call ImmutableBitSet.get(int).BitSet.nextSetBit(int)Copyright © 2018. All rights reserved.