![JAR search and dependency download from the Maven repository](/logo.png)
org.solovyev.common.JCloneable Maven / Gradle / Ivy
package org.solovyev.common;
import org.jetbrains.annotations.NotNull;
/**
* User: serso
* Date: 6/9/12
* Time: 8:40 PM
*/
/**
* Common interface for clonable objects. Suppresses {@link CloneNotSupportedException}, has a explicit
* {@link #clone()} method declaration and use type T for it's result
* @param type of cloned object
*/
public interface JCloneable> extends Cloneable {
@SuppressWarnings("CloneDoesntDeclareCloneNotSupportedException")
@NotNull
T clone();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy