All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codepoetics.fluvius.api.functional.Mapper Maven / Gradle / Ivy

package com.codepoetics.fluvius.api.functional;

/**
 * A mapping function taking a single argument.
 *
 * @param       The type of the function's argument.
 * @param  The type of the function's result.
 */
public interface Mapper {
  /**
   * Apply this function to the supplied input.
   *
   * @param input The input to the function.
   * @return The output of the function.
   */
  OUTPUT apply(A input);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy