Class BitString.BitStringIterator

java.lang.Object
com.github.javabdd.BitString.BitStringIterator
All Implemented Interfaces:
Iterator<Integer>
Direct Known Subclasses:
BitString.BackwardBitStringIterator, BitString.ForwardBitStringIterator, BitString.ForwardBitStringZeroIterator
Enclosing class:
BitString

public abstract static class BitString.BitStringIterator extends Object implements Iterator<Integer>
Abstract bit string iterator class.
  • Constructor Details

    • BitStringIterator

      public BitStringIterator()
  • Method Details

    • nextIndex

      public abstract int nextIndex()
      Returns the index of the next bit set.
      Returns:
      the index
    • next

      public final Integer next()
      Specified by:
      next in interface Iterator<Integer>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<Integer>