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

org.solovyev.common.JCloneable Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
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