Interface IndexForeach<E>

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 IndexForeach<E>
Author:
qiunet 2022/8/2 17:43
  • Method Summary

    Modifier and Type
    Method
    Description
    consume(int index, E e)
    消费 然后返回
  • Method Details

    • consume

      ForEachResult consume(int index, E e)
      消费 然后返回
      Parameters:
      index -
      e -
      Returns: