@FunctionalInterface public interface CheckedToLongBiFunction<T,U>
ToLongBiFunction that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
long |
applyAsLong(T t,
U u) |
Applies this function to the given arguments.
|
static <T,U> ToLongBiFunction<T,U> |
sneaky(CheckedToLongBiFunction<T,U> function) |
|
static <T,U> ToLongBiFunction<T,U> |
unchecked(CheckedToLongBiFunction<T,U> function) |
|
static <T,U> ToLongBiFunction<T,U> |
unchecked(CheckedToLongBiFunction<T,U> function,
Consumer<Throwable> handler) |
long applyAsLong(T t, U u) throws Throwable
t - the first function argumentu - the second function argumentThrowablestatic <T,U> ToLongBiFunction<T,U> sneaky(CheckedToLongBiFunction<T,U> function)
static <T,U> ToLongBiFunction<T,U> unchecked(CheckedToLongBiFunction<T,U> function)
static <T,U> ToLongBiFunction<T,U> unchecked(CheckedToLongBiFunction<T,U> function, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.