Interface ObjLongFunction<T,R>

Type Parameters:
T - the first argument type
R - the result type

public interface ObjLongFunction<T,R>
A function which operates on an object and a long integer, yielding an object.
  • Method Summary

    Modifier and Type
    Method
    Description
    default <V> ObjLongFunction<T,V>
    andThen(Function<? super R,? extends V> after)
    Returns a function that applies the given function to the result of this function.
    apply(T arg1, long arg2)
    Applies this function to the given arguments.
  • Method Details

    • apply

      R apply(T arg1, long arg2)
      Applies this function to the given arguments.
      Parameters:
      arg1 - the first argument
      arg2 - the second argument
      Returns:
      the function result
    • andThen

      default <V> ObjLongFunction<T,V> andThen(Function<? super R,? extends V> after)
      Returns a function that applies the given function to the result of this function.
      Type Parameters:
      V - the final return type
      Parameters:
      after - the next function (must not be null)
      Returns:
      a function that applies the given function to the result of this function