net.sf.javagimmicks.lang.Factory Maven / Gradle / Ivy
package net.sf.javagimmicks.lang;
/**
* This is a simple interface for factory classes - classes the generate
* instances of (other) classes.
*
* @param
* the type of the instances to create
*/
public interface Factory
{
/**
* Create a new instance of the respective type
*
* @return the resulting instance
*/
public E create();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy