@FunctionalInterface
public interface IOLongSupplier
LongSupplier but throws IOException.| Modifier and Type | Method and Description |
|---|---|
default java.util.function.LongSupplier |
asSupplier()
Creates a
Supplier for this instance that throws UncheckedIOException instead of IOException. |
long |
getAsLong()
Gets a result.
|
default java.util.function.LongSupplier asSupplier()
Supplier for this instance that throws UncheckedIOException instead of IOException.long getAsLong()
throws java.io.IOException
java.io.IOException - if an I/O error occurs.