E
- Thrown exception.public interface FailableLongUnaryOperator<E extends Throwable>
LongUnaryOperator
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableLongUnaryOperator |
NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
default FailableLongUnaryOperator<E> |
andThen(FailableLongUnaryOperator<E> after)
Returns a composed
FailableDoubleUnaryOperator like LongUnaryOperator.andThen(LongUnaryOperator) . |
long |
applyAsLong(long operand)
Applies this operator to the given operand.
|
default FailableLongUnaryOperator<E> |
compose(FailableLongUnaryOperator<E> before)
Returns a composed
FailableLongUnaryOperator like LongUnaryOperator.compose(LongUnaryOperator) . |
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 FailableLongUnaryOperator NOP
static <E extends Throwable> FailableLongUnaryOperator<E> identity()
E
- Thrown exception.static <E extends Throwable> FailableLongUnaryOperator<E> nop()
E
- Thrown exception.default FailableLongUnaryOperator<E> andThen(FailableLongUnaryOperator<E> after)
FailableDoubleUnaryOperator
like LongUnaryOperator.andThen(LongUnaryOperator)
.after
- the operator to apply after this one.FailableLongUnaryOperator
like LongUnaryOperator.andThen(LongUnaryOperator)
.NullPointerException
- if after is null.compose(FailableLongUnaryOperator)
long applyAsLong(long operand) throws E extends Throwable
default FailableLongUnaryOperator<E> compose(FailableLongUnaryOperator<E> before)
FailableLongUnaryOperator
like LongUnaryOperator.compose(LongUnaryOperator)
.before
- the operator to apply before this one.FailableLongUnaryOperator
like LongUnaryOperator.compose(LongUnaryOperator)
.NullPointerException
- if before is null.andThen(FailableLongUnaryOperator)
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.