Interface Mappable<F>

  • All Known Implementing Classes:
    ClassRef, TypeDef

    public interface Mappable<F>
    • Method Detail

      • 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