T - the type of exception thrown by this supplier@FunctionalInterface public interface ThrowingIntSupplier<T extends Throwable>
Represents a supplier of results which might throw an Exception
There is no requirement that a new or distinct result be returned each time the supplier is invoked.
This is a functional interface
whose functional method is getAsInt().
| Modifier and Type | Method and Description |
|---|---|
int |
getAsInt()
Gets a result.
|
Copyright © 2024. All rights reserved.