T - the type of the first argument to the functionE - Thrown exception.@FunctionalInterface public interface FailableToLongFunction<T,E extends Throwable>
ToLongFunction that declares a Throwable.| Modifier and Type | Field and Description |
|---|---|
static FailableToLongFunction |
NOP
NOP singleton
|
| Modifier and Type | Method and Description |
|---|---|
long |
applyAsLong(T t)
Applies this function to the given arguments.
|
static <T,E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableToLongFunction NOP
static <T,E extends Throwable> FailableToLongFunction<T,E> nop()
T - the type of the argument to the functionE - Thrown exception.Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.