org.apache.commons.io.function

## Interface IOLongSupplier

- Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface IOLongSupplier

  Like `LongSupplier` but throws `IOException`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    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.

- - ### Method Detail

    - #### asSupplier

          default java.util.function.LongSupplier asSupplier()

      Creates a `Supplier` for this instance that throws `UncheckedIOException` instead of `IOException`.
      Returns:
        an UncheckedIOException Supplier.

    - #### getAsLong

          long getAsLong()
                  throws IOException

      Gets a result.
      Returns:
        a result
      Throws:
        `IOException` - if an I/O error occurs.