@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 java.util.function.IntUnaryOperator |
sneaky(CheckedIntUnaryOperator operator) |
|
static java.util.function.IntUnaryOperator |
unchecked(CheckedIntUnaryOperator operator) |
|
static java.util.function.IntUnaryOperator |
unchecked(CheckedIntUnaryOperator operator,
java.util.function.Consumer<java.lang.Throwable> handler) |
int applyAsInt(int operand)
throws java.lang.Throwable
operand - the operandjava.lang.Throwablestatic java.util.function.IntUnaryOperator sneaky(CheckedIntUnaryOperator operator)
static java.util.function.IntUnaryOperator unchecked(CheckedIntUnaryOperator operator)
static java.util.function.IntUnaryOperator unchecked(CheckedIntUnaryOperator operator, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.