orderingfunction.java

来自「基于数据挖掘的决策树改进算法和贝叶斯改进算法」· Java 代码 · 共 16 行

JAVA
16
字号
package shared;
import java.lang.*;

/** The interface for classes using an ordering function for sorting various lists
 * in the Graph class.
 */
public interface OrderingFunction{
    /** The order function should return an index value for the object it recieves as a
     * parameter. This index value is then used to determine its correct position in
     * the list when the list is bucket sorted.
     *
     * @param item The item to be sorted into place.
     * @return The index value of the item sorted.
     */
    public int order(Object item);
};

⌨️ 快捷键说明

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