org.bitbucket.dollar.functions.Function Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dollar Show documentation
Show all versions of dollar Show documentation
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);
}