E - The kind of thrown exception or error.public interface FailableIntUnaryOperator<E extends java.lang.Throwable>
IntUnaryOperator that declares a Throwable.| Modifier and Type | Field and Description |
|---|---|
static FailableIntUnaryOperator |
NOP
NOP singleton
|
| Modifier and Type | Method and Description |
|---|---|
default FailableIntUnaryOperator<E> |
andThen(FailableIntUnaryOperator<E> after)
Returns a composed
FailableDoubleUnaryOperator like IntUnaryOperator.andThen(IntUnaryOperator). |
int |
applyAsInt(int operand)
Applies this operator to the given operand.
|
default FailableIntUnaryOperator<E> |
compose(FailableIntUnaryOperator<E> before)
Returns a composed
FailableIntUnaryOperator like IntUnaryOperator.compose(IntUnaryOperator). |
static <E extends java.lang.Throwable> |
identity()
Returns a unary operator that always returns its input argument.
|
static <E extends java.lang.Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableIntUnaryOperator NOP
static <E extends java.lang.Throwable> FailableIntUnaryOperator<E> identity()
E - The kind of thrown exception or error.static <E extends java.lang.Throwable> FailableIntUnaryOperator<E> nop()
E - The kind of thrown exception or error.default FailableIntUnaryOperator<E> andThen(FailableIntUnaryOperator<E> after)
FailableDoubleUnaryOperator like IntUnaryOperator.andThen(IntUnaryOperator).after - the operator to apply after this one.FailableIntUnaryOperator like IntUnaryOperator.andThen(IntUnaryOperator).java.lang.NullPointerException - if after is null.compose(FailableIntUnaryOperator)int applyAsInt(int operand)
throws E extends java.lang.Throwable
operand - the operandE - Thrown when a consumer fails.E extends java.lang.Throwabledefault FailableIntUnaryOperator<E> compose(FailableIntUnaryOperator<E> before)
FailableIntUnaryOperator like IntUnaryOperator.compose(IntUnaryOperator).before - the operator to apply before this one.FailableIntUnaryOperator like IntUnaryOperator.compose(IntUnaryOperator).java.lang.NullPointerException - if before is null.andThen(FailableIntUnaryOperator)Copyright © 2010 - 2023 Adobe. All Rights Reserved