Interface IndexedConsumer<T>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Deprecated
    @FunctionalInterface
    public interface IndexedConsumer<T>
    Deprecated.
    Use IndexedConsumer instead
    A consumer like Consumer but also accepts an integer as index.
    • Method Detail

      • accept

        void accept​(int index,
                    T t)
        Deprecated.