Interface ThrowingFunction<T,​R>

  • All Superinterfaces:
    java.util.function.Function<T,​R>
    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 ThrowingFunction<T,​R>
    extends java.util.function.Function<T,​R>
    Created by julien on 4/18/16.
    • Method Detail

      • apply

        default R apply​(T t)
        Specified by:
        apply in interface java.util.function.Function<T,​R>
      • compose

        default <V> ThrowingFunction<V,​R> compose​(java.util.function.Function<? super V,​? extends T> before)
        Specified by:
        compose in interface java.util.function.Function<T,​R>
      • andThen

        default <V> ThrowingFunction<T,​V> andThen​(java.util.function.Function<? super R,​? extends V> after)
        Specified by:
        andThen in interface java.util.function.Function<T,​R>