CheckedFunction<T,T>
@FunctionalInterface public interface CheckedUnaryOperator<T> extends CheckedFunction<T,T>
UnaryOperator
that allows for checked exceptions.Modifier and Type | Method | Description |
---|---|---|
static <T> java.util.function.UnaryOperator<T> |
sneaky(CheckedUnaryOperator<T> operator) |
|
static <T> java.util.function.UnaryOperator<T> |
unchecked(CheckedUnaryOperator<T> operator) |
|
static <T> java.util.function.UnaryOperator<T> |
unchecked(CheckedUnaryOperator<T> operator,
java.util.function.Consumer<java.lang.Throwable> handler) |
apply
static <T> java.util.function.UnaryOperator<T> sneaky(CheckedUnaryOperator<T> operator)
static <T> java.util.function.UnaryOperator<T> unchecked(CheckedUnaryOperator<T> operator)
static <T> java.util.function.UnaryOperator<T> unchecked(CheckedUnaryOperator<T> operator, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.