Interface Mappable<F>

All Known Implementing Classes:
ClassRef, TypeDef

public interface Mappable<F>
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T> T
    map(Function<F,T> mapper)
    Accepts a converter Function and applies it to the current object.
  • Method Details

    • map

      default <T> T map(Function<F,T> mapper)
      Accepts a converter Function and applies it to the current object.
      Type Parameters:
      T - the mapping output
      Parameters:
      mapper - the mapper function to use
      Returns:
      the result of the mapping