Interface Map<From,​To>

  • All Superinterfaces:
    java.util.function.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 java.util.function.Function<From,​To>
    Deprecated.
    Use Function instead.
    Maps object of type From to an object of type To.
    • Method Detail

      • map

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

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