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

org.meanbean.lang.EquivalentFactory Maven / Gradle / Ivy

Go to download

Mean Bean is an open source Java test library that tests equals and hashCode contract compliance, as well as JavaBean/POJO getter and setter methods.

The newest version!
package org.meanbean.lang;

/**
 * Defines an object that creates logically equivalent objects of a specified type.
 * 
 * @author Graham Williamson
 * @param 
 *            The data type of the object this Factory creates.
 */
public interface EquivalentFactory {

	/**
	 * Create a new logically equivalent object of the specified type.
	 * 
	 * @return A new object of the specified type.
	 */
	T create();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy