📄 orderingfunction.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -