Interface ToLongFunction<T>


public interface ToLongFunction<T>
Represents a function that accepts one argument and produces a long result. Very simple and stupid interface for representing functions f(T) → long.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    applyAsLong(T value)
    Applies this function to the given argument.
  • Method Details

    • applyAsLong

      long applyAsLong(T value)
      Applies this function to the given argument.
      Parameters:
      value - the function argument
      Returns:
      the function result