src/share/classes/sun/misc/Compare.java

Print this page
rev 7896 : 8023395: Deprecate sun.misc.Sort and sun.misc.Compare
Reviewed-by: duke

*** 21,39 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ /** * Compare: an interface to enable users to define the result of * a comparison of two objects. ! * * @author Sunita Mani */ ! ! package sun.misc; ! public interface Compare { /** * doCompare * --- 21,41 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ + package sun.misc; + /** * Compare: an interface to enable users to define the result of * a comparison of two objects. ! * @deprecated Use ! * {@link java.util.Arrays.sort(Object[], int start, int end, Comparator c)} ! * instead. * @author Sunita Mani */ ! @Deprecated public interface Compare { /** * doCompare *