E
- Thrown exception.@FunctionalInterface public interface FailableLongToIntFunction<E extends Throwable>
LongToIntFunction
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableLongToIntFunction |
NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
int |
applyAsInt(long value)
Applies this function to the given argument.
|
static <E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableLongToIntFunction NOP
static <E extends Throwable> FailableLongToIntFunction<E> nop()
E
- Thrown exception.int applyAsInt(long value) throws E extends Throwable
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.