Interface ImpulseBitSet

All Superinterfaces:
Iterable<Integer>
All Known Implementing Classes:
OffHeapBitSet

public interface ImpulseBitSet extends Iterable<Integer>
  • Method Details

    • set

      void set(int bitIndex)
    • get

      boolean get(int bitIndex)
    • clear

      void clear(int bitIndex)
    • clear

      void clear()
    • isEmpty

      boolean isEmpty()
    • cardinality

      long cardinality()
    • nextSetBit

      int nextSetBit(int fromIndex)
    • or

      void or(ImpulseBitSet set)
    • and

      void and(ImpulseBitSet set)
    • andNot

      void andNot(ImpulseBitSet set)
    • isSubsetOf

      default boolean isSubsetOf(ImpulseBitSet other)
    • forEachSetBit

      default void forEachSetBit(IntConsumer action)
      Executes the given action for each set bit in this bitset.
    • toStream

      default IntStream toStream()
      Returns an IntStream of indices for which this bitset contains a bit in the set state.
    • iterator

      default Iterator<Integer> iterator()
      Specified by:
      iterator in interface Iterable<Integer>