Package ste.lloop

Interface MapLoopConsumer<K,V>

Type Parameters:
K - the type of the map key
V - the type of the map value
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 MapLoopConsumer<K,V>
A functional interface for consuming items in a map loop.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(Integer index, K key, V value)
    Performs this operation on the given arguments.
  • Method Details

    • accept

      void accept(Integer index, K key, V value)
      Performs this operation on the given arguments.
      Parameters:
      index - the index of the current item
      key - the key of the current item
      value - the value of the current item