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

com.oracle.coherence.common.base.Cloner Maven / Gradle / Ivy

There is a newer version: 24.09
Show newest version
/*
 * Copyright (c) 2000, 2020, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */
package com.oracle.coherence.common.base;


/**
 * A Cloner provides an external means for producing copies of objects as
 * prescribed by the {@link Object#clone()} contract.
 *
 * @author gg/mf  2012.07.12
 */
public interface Cloner
    {
    /**
     * Return a copy of the specified object.
     *
     * @param o  the object to clone
     * @param  the type of the object
     *
     * @return the new object
     */
    public  T clone(T o);
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy