Interface CheckedUnaryOperator<T>

  • All Superinterfaces:
    CheckedFunction<T,​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 CheckedUnaryOperator<T>
    extends CheckedFunction<T,​T>
    A UnaryOperator that allows for checked exceptions.
    • Method Detail

      • sneaky

        static <T> java.util.function.UnaryOperator<T> sneaky​(CheckedUnaryOperator<T> operator)
      • unchecked

        static <T> java.util.function.UnaryOperator<T> unchecked​(CheckedUnaryOperator<T> operator)
      • unchecked

        static <T> java.util.function.UnaryOperator<T> unchecked​(CheckedUnaryOperator<T> operator,
                                                                 java.util.function.Consumer<java.lang.Throwable> handler)