@FunctionalInterface public interface CheckedIntUnaryOperator
IntUnaryOperator that allows for checked exceptions.| Modifier and Type | Method and Description |
|---|---|
int |
applyAsInt(int operand)
Applies this operator to the given operand.
|
static java.util.function.IntUnaryOperator |
unchecked(CheckedIntUnaryOperator operator) |
static java.util.function.IntUnaryOperator |
unchecked(CheckedIntUnaryOperator operator,
java.util.function.Consumer<Throwable> handler) |
int applyAsInt(int operand)
throws Throwable
operand - the operandThrowablestatic java.util.function.IntUnaryOperator unchecked(CheckedIntUnaryOperator operator)
Unchecked#intUnaryOperator(CheckedIntUnaryOperator)}static java.util.function.IntUnaryOperator unchecked(CheckedIntUnaryOperator operator, java.util.function.Consumer<Throwable> handler)
Unchecked#intUnaryOperator(CheckedIntUnaryOperator, Consumer)}Copyright © 2016. All Rights Reserved.