Interface ExceptionLongFunction<R,​E extends java.lang.Exception>

  • 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 ExceptionLongFunction<R,​E extends java.lang.Exception>
    A one-argument long integer function which can throw an exception.
    Author:
    David M. Lloyd
    • Method Detail

      • apply

        R apply​(long value)
         throws E extends java.lang.Exception
        Applies this function to the given arguments.
        Parameters:
        value - the argument
        Returns:
        the function result
        Throws:
        E - if an exception occurs
        E extends java.lang.Exception