接口 Processor<T>

类型参数:
T - Input value type.
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface Processor<T>
Generic callback with continue/stop semantics.
另请参阅:
  • CommonProcessors
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
     
  • 方法详细资料

    • process

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