Interface LongToRefFunction<O>

Type Parameters:
O - The output type.
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 LongToRefFunction<O>
A function that accepts a long and returns an Object.
Since:
1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(long e)
    Applies the function.
  • Method Details

    • apply

      O apply(long e)
      Applies the function.
      Parameters:
      e - The argument.
      Returns:
      The result.