Interface Movie.Mapper<R>

Type Parameters:
R - the type of the result of the function
All Superinterfaces:
Function<Movie,R>
Enclosing class:
Movie
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 static interface Movie.Mapper<R> extends Function<Movie,R>
Represents a function that accepts one Movie argument and produces a result.

This is a functional interface whose functional method is apply(Movie).

  • Method Summary

    Modifier and Type
    Method
    Description
    Applies this function to the supplied Movie argument.

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      R apply(Movie p)
      Applies this function to the supplied Movie argument.
      Specified by:
      apply in interface Function<Movie,R>
      Parameters:
      p - the movie
      Returns:
      the function result