PageRenderTime 45ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/MiscUtilities.Compare.html

#
HTML | 219 lines | 181 code | 28 blank | 10 comment | 0 complexity | e1603a049411a830b1a7d042ef09063b MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:13:46 GMT-08:00 2008 -->
  6. <TITLE>
  7. MiscUtilities.Compare (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.MiscUtilities.Compare interface">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <NOSCRIPT>
  12. </NOSCRIPT>
  13. </HEAD>
  14. <BODY BGCOLOR="white" >
  15. <!-- ========= START OF TOP NAVBAR ======= -->
  16. <A NAME="navbar_top"><!-- --></A>
  17. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  18. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  19. <TR>
  20. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  21. <A NAME="navbar_top_firstrow"><!-- --></A>
  22. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  23. <TR ALIGN="center" VALIGN="top">
  24. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  25. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  26. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  27. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MiscUtilities.Compare.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  28. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  32. </TR>
  33. </TABLE>
  34. </TD>
  35. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  36. </EM>
  37. </TD>
  38. </TR>
  39. <TR>
  40. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  41. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.MenuItemCompare.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
  43. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  44. <A HREF="../../../../index.html?org/gjt/sp/jedit/MiscUtilities.Compare.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="MiscUtilities.Compare.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  46. &nbsp;
  47. <NOSCRIPT>
  48. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  49. </NOSCRIPT>
  50. </FONT></TD>
  51. </TR>
  52. <TR>
  53. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  54. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  55. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  56. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  57. </TR>
  58. </TABLE>
  59. <A NAME="skip-navbar_top"></A>
  60. <!-- ========= END OF TOP NAVBAR ========= -->
  61. <HR>
  62. <!-- ======== START OF CLASS DATA ======== -->
  63. <H2>
  64. <FONT SIZE="-1">
  65. org.gjt.sp.jedit</FONT>
  66. <BR>
  67. Interface MiscUtilities.Compare</H2>
  68. <DL>
  69. <DT><B>All Superinterfaces:</B> <DD>java.util.Comparator</DD>
  70. </DL>
  71. <DL>
  72. <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.MenuItemCompare.html" title="class in org.gjt.sp.jedit">MiscUtilities.MenuItemCompare</A>, <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringCompare.html" title="class in org.gjt.sp.jedit">MiscUtilities.StringCompare</A></DD>
  73. </DL>
  74. <DL>
  75. <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html" title="class in org.gjt.sp.jedit">MiscUtilities</A></DD>
  76. </DL>
  77. <HR>
  78. <B>Deprecated.</B>
  79. <P>
  80. <DL>
  81. <DT><PRE><FONT SIZE="-1">@Deprecated
  82. </FONT>public static interface <B>MiscUtilities.Compare</B><DT>extends java.util.Comparator</DL>
  83. </PRE>
  84. <P>
  85. An interface for comparing objects. This is a hold-over from
  86. they days when jEdit had its own sorting API due to JDK 1.1
  87. compatibility requirements. Use <code>java.util.Comparator</code>
  88. instead.
  89. <P>
  90. <P>
  91. <HR>
  92. <P>
  93. <!-- ========== METHOD SUMMARY =========== -->
  94. <A NAME="method_summary"><!-- --></A>
  95. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  96. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  97. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  98. <B>Method Summary</B></FONT></TH>
  99. </TR>
  100. <TR BGCOLOR="white" CLASS="TableRowColor">
  101. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  102. <CODE>&nbsp;int</CODE></FONT></TD>
  103. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.Compare.html#compare(java.lang.Object, java.lang.Object)">compare</A></B>(java.lang.Object&nbsp;obj1,
  104. java.lang.Object&nbsp;obj2)</CODE>
  105. <BR>
  106. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
  107. </TR>
  108. </TABLE>
  109. &nbsp;<A NAME="methods_inherited_from_class_java.util.Comparator"><!-- --></A>
  110. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  111. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  112. <TH ALIGN="left"><B>Methods inherited from interface java.util.Comparator</B></TH>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD><CODE>equals</CODE></TD>
  116. </TR>
  117. </TABLE>
  118. &nbsp;
  119. <P>
  120. <!-- ============ METHOD DETAIL ========== -->
  121. <A NAME="method_detail"><!-- --></A>
  122. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  123. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  124. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  125. <B>Method Detail</B></FONT></TH>
  126. </TR>
  127. </TABLE>
  128. <A NAME="compare(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
  129. compare</H3>
  130. <PRE>
  131. int <B>compare</B>(java.lang.Object&nbsp;obj1,
  132. java.lang.Object&nbsp;obj2)</PRE>
  133. <DL>
  134. <DD><B>Deprecated.</B>&nbsp;<DD><DL>
  135. <DT><B>Specified by:</B><DD><CODE>compare</CODE> in interface <CODE>java.util.Comparator</CODE></DL>
  136. </DD>
  137. <DD><DL>
  138. </DL>
  139. </DD>
  140. </DL>
  141. <!-- ========= END OF CLASS DATA ========= -->
  142. <HR>
  143. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  144. <A NAME="navbar_bottom"><!-- --></A>
  145. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  146. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  147. <TR>
  148. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  149. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  150. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  151. <TR ALIGN="center" VALIGN="top">
  152. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  153. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  154. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  155. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MiscUtilities.Compare.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  156. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  157. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  158. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  159. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  160. </TR>
  161. </TABLE>
  162. </TD>
  163. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  164. </EM>
  165. </TD>
  166. </TR>
  167. <TR>
  168. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  169. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
  170. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.MenuItemCompare.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
  171. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  172. <A HREF="../../../../index.html?org/gjt/sp/jedit/MiscUtilities.Compare.html" target="_top"><B>FRAMES</B></A> &nbsp;
  173. &nbsp;<A HREF="MiscUtilities.Compare.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  174. &nbsp;
  175. <NOSCRIPT>
  176. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  177. </NOSCRIPT>
  178. </FONT></TD>
  179. </TR>
  180. <TR>
  181. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  182. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  183. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  184. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  185. </TR>
  186. </TABLE>
  187. <A NAME="skip-navbar_bottom"></A>
  188. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  189. <HR>
  190. </BODY>
  191. </HTML>