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

org.bitbucket.dollar.functions.Function Maven / Gradle / Ivy

Go to download

Java API that unifies collections, arrays, iterators/iterable and char sequences (String, StringBuilder, etc).

The newest version!
package org.bitbucket.dollar.functions;

import java.util.*;
import java.io.*;

/**
 * Represents a Function with one argument.
 * 
 * @param 
 *            the type of the input object to the apply operation.
 * @param 
 *            the return type
 */
@Functional
public interface Function {

    /** Yield an appropriate result object for the input object. */
    R apply(T t);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy