listsorter.java
来自「BOOK:Beginning Algorithms Code Example」· Java 代码 · 共 18 行
JAVA
18 行
package com.wrox.algorithms.sorting;import com.wrox.algorithms.lists.List;/** * Generic interface for list sorting algorithms. * */public interface ListSorter { /** * Sorts a list according to the underlying algorithm. * * @param list The list to sort. * @return The sorted List. May or may not be a new list. */ public List sort(List list);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?