Modifier and Type | Method and Description |
---|---|
static <E extends Throwable> |
LongPredicateWithThrowable.asLongPredicateWithThrowable(LongPredicate longpredicate)
Utility method to convert LongPredicateWithThrowable
|
static <E extends Throwable> |
LongPredicateWithThrowable.castLongPredicateWithThrowable(LongPredicateWithThrowable<E> longpredicatewiththrowable)
Utility method to mark lambdas of type LongPredicateWithThrowable
|
default LongPredicateWithThrowable<E> |
LongPredicateWithThrowable.onException(BiConsumer<Throwable,Object[]> consumer) |
default LongPredicateWithThrowable<E> |
LongPredicateWithThrowable.onException(Consumer<Throwable> consumer) |
default LongPredicateWithThrowable<E> |
LongPredicateWithThrowable.withLogging()
Will log WARNING level exceptions on logger if they occur within the interface
|
default LongPredicateWithThrowable<E> |
LongPredicateWithThrowable.withLogging(org.slf4j.Logger logger)
Will log WARNING level exceptions on logger if they occur within the interface
|
default LongPredicateWithThrowable<E> |
LongPredicateWithThrowable.withLogging(org.slf4j.Logger logger,
String message) |
Modifier and Type | Method and Description |
---|---|
static <E extends Throwable> |
LongPredicateWithThrowable.aLongPredicateThatUnsafelyThrowsUnchecked(LongPredicateWithThrowable<E> longpredicatewiththrowable)
Utility method to unwrap lambdas of type LongPredicate and withUncheckedThrowable any Exception
|
static <E extends Throwable> |
LongPredicateWithThrowable.castLongPredicateWithThrowable(LongPredicateWithThrowable<E> longpredicatewiththrowable)
Utility method to mark lambdas of type LongPredicateWithThrowable
|
Copyright © 2017. All rights reserved.