E - Thrown exception.public interface FailableIntUnaryOperator<E extends 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 Throwable> |
identity()
Returns a unary operator that always returns its input argument.
|
static <E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableIntUnaryOperator NOP
static <E extends Throwable> FailableIntUnaryOperator<E> identity()
E - Thrown exception.static <E extends Throwable> FailableIntUnaryOperator<E> nop()
E - Thrown exception.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).NullPointerException - if after is null.compose(FailableIntUnaryOperator)int applyAsInt(int operand) throws E extends Throwable
default FailableIntUnaryOperator<E> compose(FailableIntUnaryOperator<E> before)
FailableIntUnaryOperator like IntUnaryOperator.compose(IntUnaryOperator).before - the operator to apply before this one.FailableIntUnaryOperator like IntUnaryOperator.compose(IntUnaryOperator).NullPointerException - if before is null.andThen(FailableIntUnaryOperator)Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.