org.ebay.datameta.util.jdk.Copyable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of util-jdk Show documentation
Show all versions of util-jdk Show documentation
Whatever may be missing in JDKs (and Java JDKs only), add here
The newest version!
package org.ebay.datameta.util.jdk;
/**
* Generified version of {@link Cloneable}, bean-friendly and not throwing any checked exceptions.
* @author Michael Bergens
* @param the type to copy.
*/
public interface Copyable {
/**
* Gets a copy of this object without throwing any checked exceptions. Each implementor
* should explain what kind of copy it gets, deep, shallow, how deep/shallow if applicable, what's the catch if any.
*/
@Api T getCopyOf();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy