All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.tommyettinger.function.ObjObjToLongBiFunction Maven / Gradle / Ivy

The newest version!
package com.github.tommyettinger.function;

/**
 * Represents an operation on a {@code T}-valued operand and a {@code U}-valued
 * operand that produces a {@code long}-valued result.
 * 
* This is identical to {@code ToLongBiFunction} in Java 8, and is present here so environments * that support lambdas but not Java 8 APIs (such as RoboVM) can use it. *
* This is a functional interface whose functional method is {@link #applyAsLong(Object, Object)}. */ @FunctionalInterface public interface ObjObjToLongBiFunction { /** * Applies this function to the given arguments. * * @param first the first function argument * @param second the second function argument * @return the function result */ long applyAsLong(T first, U second); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy