net.sf.javagimmicks.transform.Transformer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gimmicks Show documentation
Show all versions of gimmicks Show documentation
Utility classes, APIs and tools for Java
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