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

com.base4j.util.lang.CloneSupport Maven / Gradle / Ivy

The newest version!
package com.base4j.util.lang;

import java.lang.Cloneable;

/**
 * 克隆支持类,提供默认的克隆方法
 *
 * @param 
 * @author Looly
 */
public class CloneSupport implements Cloneable {

    @SuppressWarnings("unchecked")
    @Override
    public T clone() {
        try {
            return (T) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy