接口 Consumer<T>


public interface Consumer<T>
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    accept(T t)
    Performs this operation on the given argument.
  • 方法详细资料

    • accept

      void accept(T t)
      Performs this operation on the given argument.
      参数:
      t - the input argument