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

📄 comparator.java

📁 一个java的LDAP服务器
💻 JAVA
字号:
package org.javaldap.btree;

/*
  File: Comparator.java
 
  Biel School of Engineering, Computer Science Division. 
  Course "Algorithms with Objects in Java" 
  Originally written by Roger Cattin (c) 1997/98
 
  History:
  Date     Who                 What
  Nov97    ctr@info.isbiel.ch  Created.
*/

/**
 * Comparator is an interface for any class possessing an ordering
 * comparison method.
**/

public interface Comparator {
	/**
	 * Compare two Objects with respect to ordering. Typical
	 * implementations first cast their arguments to particular
	 * types in order to perform comparison.
	 * @param obj object to be compared with this
	 * @return a negative number if this is less than obj; a
	 * positive number if this is greater than obj; else 0
	**/
	public int compareTo(Object obj);
}

⌨️ 快捷键说明

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