T - the type of exception thrown by this supplier@FunctionalInterface public interface ThrowingLongSupplier<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 longerface
whose functional method is getAsLong().
| Modifier and Type | Method and Description |
|---|---|
long |
getAsLong()
Gets a result.
|
Copyright © 2024. All rights reserved.