@FunctionalInterface public interface CheckedLongUnaryOperator
LongUnaryOperator that allows for checked exceptions.| Modifier and Type | Method and Description |
|---|---|
long |
applyAsLong(long operand)
Applies this operator to the given operand.
|
static java.util.function.LongUnaryOperator |
unchecked(CheckedLongUnaryOperator operator) |
static java.util.function.LongUnaryOperator |
unchecked(CheckedLongUnaryOperator operator,
java.util.function.Consumer<Throwable> handler) |
long applyAsLong(long operand)
throws Throwable
operand - the operandThrowablestatic java.util.function.LongUnaryOperator unchecked(CheckedLongUnaryOperator operator)
Unchecked#longUnaryOperator(CheckedLongUnaryOperator)}static java.util.function.LongUnaryOperator unchecked(CheckedLongUnaryOperator operator, java.util.function.Consumer<Throwable> handler)
Unchecked#longUnaryOperator(CheckedLongUnaryOperator, Consumer)}Copyright © 2016. All Rights Reserved.