Interface LongPairSet.LongPairFunction<T>

  • Type Parameters:
    T - the type of the result of the function
    Enclosing interface:
    LongPairSet
    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 static interface LongPairSet.LongPairFunction<T>
    Represents a function that accepts two long arguments and produces a result. This is the two-arity specialization of Function.
    • Method Detail

      • apply

        T apply​(long item1,
                long item2)
        Applies this function to the given arguments.
        Parameters:
        item1 - the first function argument
        item2 - the second function argument
        Returns:
        the function result