R
- Return type.E
- Thrown exception.@FunctionalInterface public interface FailableLongFunction<R,E extends Throwable>
LongFunction
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableLongFunction |
NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
R |
apply(long input)
Applies this function.
|
static <R,E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableLongFunction NOP
static <R,E extends Throwable> FailableLongFunction<R,E> nop()
R
- Return type.E
- Thrown exception.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.