Interface FailableLongToIntFunction<E extends Throwable>

    • Method Detail

      • nop

        static <E extends ThrowableFailableLongToIntFunction<E> nop()
        Returns The NOP singleton.
        Type Parameters:
        E - The kind of thrown exception or error.
        Returns:
        The NOP singleton.
      • applyAsInt

        int applyAsInt​(long value)
                throws E extends Throwable
        Applies this function to the given argument.
        Parameters:
        value - the function argument
        Returns:
        the function result
        Throws:
        E - Thrown when the function fails.
        E extends Throwable