Package org.apache.commons.collections4.bloomfilter

# Interface CellExtractor.CellPredicate

Enclosing interface:
  `CellExtractor`

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 CellExtractor.CellPredicate
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.