E
- The kind of thrown exception or error.@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
- The kind of thrown exception or error.int applyAsInt(long value) throws E extends Throwable
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.