Package org.apache.commons.collections4.bloomfilter

# Interface CellProducer.CellConsumer

Enclosing interface:
  CellProducer

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CellProducer.CellConsumer
Represents an operation that accepts an `<index, count>` pair. Returns `true` if processing should continue, `false` otherwise.

Note: This is a functional interface as a specialization of `BiPredicate` for `int`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `test(int index, int count)`
  Performs an operation on the given `<index, count>` pair.

- ## Method Details

  - ### test

    boolean test(int index, int count)
    Performs an operation on the given `<index, count>` pair.
    Parameters:
      `index` - the bit index.
      `count` - the cell value at the specified bit index.
    Returns:
      `true` if processing should continue, `false` if processing should stop.