Interface Processor<T>

Type Parameters:
T - Input value type.
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 interface Processor<T>
Generic callback with continue/stop semantics.
See Also:
  • CommonProcessors
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
  • Method Details

    • process

      boolean process(T t)
      Parameters:
      t - consequently takes value of each element of the set this processor is passed to for processing.
      Returns:
      true to continue processing or false to stop.