Package org.joox

Interface Mapper<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 Mapper<E>
A mapping type providing data for every element.
Author:
Lukas Eder
  • Method Summary

    Modifier and Type
    Method
    Description
    map(Context context)
    The callback method invoked for every matched element.
  • Method Details

    • map

      E map(Context context)
      The callback method invoked for every matched element.
      Parameters:
      context - The context for the current callback call.
      Returns:
      The mapped value for the element