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

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

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

/**
 * Represents an operation on a single {@code T}-valued operand that produces
 * an {@code R}-valued result.
 * 
* This is identical to {@code Function} 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 #apply(Object)}. */ @FunctionalInterface public interface ObjToObjFunction { /** * Applies this function to the given argument. * * @param value the function argument * @return the function result */ R apply(T value); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy