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

📄 comparable.java

📁 ALGAE是一个快速创建算法演示的框架。目前支持的算法实现语言包括java和c
💻 JAVA
字号:
package /*{*/edu.odu.cs.zeil.AlgAE.Demos.Sort./*}*/Supporting;/*{*/import edu.odu.cs.zeil.AlgAE.Server.Visible;/** * Protocol for Comparable objects. * @author Mark Allen Weiss */public interface Comparable /*{*/extends Visible{    /**     * Compare this object with rhs.     * @param Rhs the second Comparable.     * @return 0 if two objects are equal;     *     less than zero if this object is smaller;     *     greater than zero if this object is larger.     */    int     compares( Comparable rhs );    /**     * Compare this object with rhs.     * @param Rhs the second Comparable.     * @return true if this object is smaller;     *     false otherwise.     */    boolean lessThan( Comparable rhs );}

⌨️ 快捷键说明

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