Interface ExceptionUtil.ThrowingLongSupplier

Enclosing class:
ExceptionUtil
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 static interface ExceptionUtil.ThrowingLongSupplier
A long-returning supplier that may throw any Throwable.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets a long result.
  • Method Details

    • getAsLong

      long getAsLong() throws Throwable
      Gets a long result.
      Returns:
      a long result
      Throws:
      Throwable - if unable to compute