Interface IFunction<T,R>

Type Parameters:
T - an argument
R - a result
All Superinterfaces:
Serializable
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 IFunction<T,R> extends Serializable
Represents a function that accepts one argument and produces a result.

This class is called IFunction instead of Function to prevent clashes with the one in Java 8.

Serialized instances of this interface are used in client-member communication, so changing an implementation's binary format will render it incompatible with its previous versions.

Since:
3.2
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T input)
     
  • Method Details

    • apply

      R apply(T input)