Interface ObjLongBiFunction<T,​R>

Type Parameters:
T - the type of the first argument to the function
R - the type of the result of the function
All Superinterfaces:
Serializable
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 ObjLongBiFunction<T,​R>
extends Serializable
Represents a specialization of BiFunction where the second argument is a long.
Since:
3.0
  • Method Summary

    Modifier and Type Method Description
    default R apply​(T t, long u)
    Applies this function to the given arguments.
    R applyEx​(T t, long u)
    Exception-declaring version of apply(T, long).
  • Method Details

    • applyEx

      R applyEx​(T t, long u) throws Exception
      Exception-declaring version of apply(T, long).
      Throws:
      Exception
    • apply

      default R apply​(T t, long u)
      Applies this function to the given arguments.
      Parameters:
      t - the first function argument
      u - the second function argument
      Returns:
      the function result