www.pudn.com > GMapViewer-src.zip > Comparator.java



package org.sreid.j2me.util;

/**
 * Comparator interface, for J2ME where java.util.Comparator is not available.
 */
public interface Comparator {
	/**
	 * Returns a negative integer, zero, or a positive integer as the first 
	 * argument is less than, equal to, or greater than the second.
	 */
	int compare(Object o1, Object o2);
}