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

net.sf.javagimmicks.transform.Transformer Maven / Gradle / Ivy

There is a newer version: 0.99-alpha1
Show newest version
package net.sf.javagimmicks.transform;

/**
 * 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 Transformer
{
   /**
    * Transforms a given object into another value and/or type
    * 
    * @param source
    *           the source object
    * @return the transformed object
    */
   public T transform(F source);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy