@FunctionalInterface
public interface CheckedLongUnaryOperator
LongUnaryOperator that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
long |
applyAsLong(long operand) |
Applies this operator to the given operand.
|
static java.util.function.LongUnaryOperator |
sneaky(CheckedLongUnaryOperator operator) |
|
static java.util.function.LongUnaryOperator |
unchecked(CheckedLongUnaryOperator operator) |
|
static java.util.function.LongUnaryOperator |
unchecked(CheckedLongUnaryOperator operator,
java.util.function.Consumer<java.lang.Throwable> handler) |
long applyAsLong(long operand)
throws java.lang.Throwable
operand - the operandjava.lang.Throwablestatic java.util.function.LongUnaryOperator sneaky(CheckedLongUnaryOperator operator)
static java.util.function.LongUnaryOperator unchecked(CheckedLongUnaryOperator operator)
static java.util.function.LongUnaryOperator unchecked(CheckedLongUnaryOperator operator, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.