| Modifier and Type | Method and Description |
|---|---|
static <T,E extends Throwable> |
Requirements.nameC(ThrowingConsumer<T,E> consumer,
Supplier<String> msg)
Adds a toString to a consumer.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,E extends Throwable> |
Requirements.doesNotThrowException(ThrowingConsumer<T,E> consumer)
Returns a predicate that ensures an exception is not thrown by a body of code.
|
static <T,E extends Throwable> |
Requirements.nameC(ThrowingConsumer<T,E> consumer,
Supplier<String> msg)
Adds a toString to a consumer.
|
Copyright © 2020. All rights reserved.