T - the type of the argument to the functionE - The kind of thrown exception or error.@FunctionalInterface public interface FailableToBooleanFunction<T,E extends Throwable>
ToBooleanFunction that declares a Throwable.| Modifier and Type | Field and Description |
|---|---|
static FailableToBooleanFunction |
NOP
NOP singleton
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyAsBoolean(T t)
Applies this function to the given arguments.
|
static <T,E extends Throwable> |
nop()
Gets the NOP singleton.
|
static final FailableToBooleanFunction NOP
static <T,E extends Throwable> FailableToBooleanFunction<T,E> nop()
T - the type of the argument to the functionE - The kind of thrown exception or error.Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.