org.meanbean.lang.EquivalentFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meanbean Show documentation
Show all versions of meanbean Show documentation
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