Function (original) (raw)


public interface Function<T,​R>
Apply a function to the input object yielding an appropriate result object. A function may variously provide a mapping between types, object instances or keys and values or any other form of transformation upon the input.