Interface ThrowingExtractor<F,T,EXCEPTION extends Exception>

Type Parameters:
F - type of element from which the conversion happens
T - target element type
EXCEPTION - type of exception which might be thrown during conversion
All Superinterfaces:
Function<F,T>
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 interface ThrowingExtractor<F,T,EXCEPTION extends Exception> extends Function<F,T>
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    apply(F input)
     
     

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      default T apply(F input)
      Specified by:
      apply in interface Function<F,T>
    • extractThrows

      T extractThrows(F input) throws EXCEPTION
      Throws:
      EXCEPTION