@FunctionalInterface public interface CheckedIntUnaryOperator
IntUnaryOperator that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
int |
applyAsInt(int operand) |
Applies this operator to the given operand.
|
static IntUnaryOperator |
sneaky(CheckedIntUnaryOperator operator) |
|
static IntUnaryOperator |
unchecked(CheckedIntUnaryOperator operator) |
|
static IntUnaryOperator |
unchecked(CheckedIntUnaryOperator operator,
Consumer<Throwable> handler) |
int applyAsInt(int operand)
throws Throwable
operand - the operandThrowablestatic IntUnaryOperator sneaky(CheckedIntUnaryOperator operator)
static IntUnaryOperator unchecked(CheckedIntUnaryOperator operator)
static IntUnaryOperator unchecked(CheckedIntUnaryOperator operator, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.