Interface Map<From,To>

All Superinterfaces:
Function<From,To>
All Known Subinterfaces:
Unary<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated @FunctionalInterface public interface Map<From,To> extends Function<From,To>
Deprecated.
Use Function instead.
Maps object of type From to an object of type To.
  • Method Summary

    Modifier and Type
    Method
    Description
    default To
    apply(From from)
    Deprecated.
     
    map(From from)
    Deprecated.
    Maps from to the target object.

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • map

      To map(From from)
      Deprecated.
      Maps from to the target object.
    • apply

      default To apply(From from)
      Deprecated.
      Specified by:
      apply in interface Function<From,To>