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

net.sf.javagimmicks.util.Function Maven / Gradle / Ivy

package net.sf.javagimmicks.util;

/**
 * A simple interface for classes that can transform objects into another value
 * and/or format.
 * 
 * @param 
 *           the source object type
 * @param 
 *           the target object type
 */
public interface Function
{
   /**
    * Transforms a given object into another value and/or type
    * 
    * @param source
    *           the source object
    * @return the transformed object
    */
   public T apply(F source);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy