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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean test​(int index, int count)
      Performs an operation on the given <index, count> pair.
    • Method Detail

      • 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.