⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 copyable.java~5~

📁 数据挖掘中常常会遇到apriori算法 这是apriori算法的java版
💻 JAVA~5~
字号:
package apriori;/** * Interface implemented by classes that can produce "shallow" copies * of their objects. (As opposed to clone(), which is supposed to * produce a "deep" copy.) * * public Object clone() * Makes a copy of this CertStoreParameters. * * * A deep copy implementation of clone is safer and more robust, * as it prevents the caller from corrupting a shared CertStore * by subsequently modifying the contents of its initialization parameters. * However, a shallow copy implementation of clone is more appropriate for applications * that need to hold a reference to a parameter contained in the CertStoreParameters. * For example, a shallow copy clone allows an application to release the resources of a particular * CertStore initialization parameter immediately, * rather than waiting for the garbage collection mechanism. * This should be done with the utmost care, since the CertStore may still be in use by other threads */public interface Copyable {/**   * This method produces a shallow copy of an object.   * It does the same as the clone() method in Object, which also produces   * a shallow copy.   */  public Object copy();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -