PageRenderTime 61ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
HTML | 259 lines | 214 code | 33 blank | 12 comment | 0 complexity | 127750d6e9ba2aac66c7115f544e0cf6 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.StringCompare (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.MiscUtilities.StringCompare class">
  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.StringCompare.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.MenuItemCompare.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringICaseCompare.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.StringCompare.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="MiscUtilities.StringCompare.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;<A HREF="#constructor_summary">CONSTR</A>&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;<A HREF="#constructor_detail">CONSTR</A>&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. Class MiscUtilities.StringCompare</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.MiscUtilities.StringCompare</B>
  71. </PRE>
  72. <DL>
  73. <DT><B>All Implemented Interfaces:</B> <DD>java.util.Comparator, <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.Compare.html" title="interface in org.gjt.sp.jedit">MiscUtilities.Compare</A></DD>
  74. </DL>
  75. <DL>
  76. <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html" title="class in org.gjt.sp.jedit">MiscUtilities</A></DD>
  77. </DL>
  78. <HR>
  79. <B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.StringCompare.html" title="class in org.gjt.sp.util"><CODE>StandardUtilities.StringCompare</CODE></A></I>
  80. <P>
  81. <DL>
  82. <DT><PRE><FONT SIZE="-1">@Deprecated
  83. </FONT>public static class <B>MiscUtilities.StringCompare</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.Compare.html" title="interface in org.gjt.sp.jedit">MiscUtilities.Compare</A></DL>
  84. </PRE>
  85. <P>
  86. Compares strings.
  87. <P>
  88. <P>
  89. <HR>
  90. <P>
  91. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  92. <A NAME="constructor_summary"><!-- --></A>
  93. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  94. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  95. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  96. <B>Constructor Summary</B></FONT></TH>
  97. </TR>
  98. <TR BGCOLOR="white" CLASS="TableRowColor">
  99. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringCompare.html#MiscUtilities.StringCompare()">MiscUtilities.StringCompare</A></B>()</CODE>
  100. <BR>
  101. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
  102. </TR>
  103. </TABLE>
  104. &nbsp;
  105. <!-- ========== METHOD SUMMARY =========== -->
  106. <A NAME="method_summary"><!-- --></A>
  107. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  108. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  109. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  110. <B>Method Summary</B></FONT></TH>
  111. </TR>
  112. <TR BGCOLOR="white" CLASS="TableRowColor">
  113. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  114. <CODE>&nbsp;int</CODE></FONT></TD>
  115. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringCompare.html#compare(java.lang.Object, java.lang.Object)">compare</A></B>(java.lang.Object&nbsp;obj1,
  116. java.lang.Object&nbsp;obj2)</CODE>
  117. <BR>
  118. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
  119. </TR>
  120. </TABLE>
  121. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  122. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  123. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  124. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  125. </TR>
  126. <TR BGCOLOR="white" CLASS="TableRowColor">
  127. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  128. </TR>
  129. </TABLE>
  130. &nbsp;<A NAME="methods_inherited_from_class_java.util.Comparator"><!-- --></A>
  131. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  132. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  133. <TH ALIGN="left"><B>Methods inherited from interface java.util.Comparator</B></TH>
  134. </TR>
  135. <TR BGCOLOR="white" CLASS="TableRowColor">
  136. <TD><CODE>equals</CODE></TD>
  137. </TR>
  138. </TABLE>
  139. &nbsp;
  140. <P>
  141. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  142. <A NAME="constructor_detail"><!-- --></A>
  143. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  144. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  145. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  146. <B>Constructor Detail</B></FONT></TH>
  147. </TR>
  148. </TABLE>
  149. <A NAME="MiscUtilities.StringCompare()"><!-- --></A><H3>
  150. MiscUtilities.StringCompare</H3>
  151. <PRE>
  152. public <B>MiscUtilities.StringCompare</B>()</PRE>
  153. <DL>
  154. <DD><B>Deprecated.</B>&nbsp;</DL>
  155. <!-- ============ METHOD DETAIL ========== -->
  156. <A NAME="method_detail"><!-- --></A>
  157. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  158. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  159. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  160. <B>Method Detail</B></FONT></TH>
  161. </TR>
  162. </TABLE>
  163. <A NAME="compare(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
  164. compare</H3>
  165. <PRE>
  166. public int <B>compare</B>(java.lang.Object&nbsp;obj1,
  167. java.lang.Object&nbsp;obj2)</PRE>
  168. <DL>
  169. <DD><B>Deprecated.</B>&nbsp;<DD><DL>
  170. <DT><B>Specified by:</B><DD><CODE>compare</CODE> in interface <CODE>java.util.Comparator</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.Compare.html#compare(java.lang.Object, java.lang.Object)">compare</A></CODE> in interface <CODE><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.Compare.html" title="interface in org.gjt.sp.jedit">MiscUtilities.Compare</A></CODE></DL>
  171. </DD>
  172. <DD><DL>
  173. </DL>
  174. </DD>
  175. </DL>
  176. <!-- ========= END OF CLASS DATA ========= -->
  177. <HR>
  178. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  179. <A NAME="navbar_bottom"><!-- --></A>
  180. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  181. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  182. <TR>
  183. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  184. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  185. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  186. <TR ALIGN="center" VALIGN="top">
  187. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  188. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  189. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  190. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MiscUtilities.StringCompare.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  191. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  192. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  193. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  194. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  195. </TR>
  196. </TABLE>
  197. </TD>
  198. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  199. </EM>
  200. </TD>
  201. </TR>
  202. <TR>
  203. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  204. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.MenuItemCompare.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
  205. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringICaseCompare.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
  206. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  207. <A HREF="../../../../index.html?org/gjt/sp/jedit/MiscUtilities.StringCompare.html" target="_top"><B>FRAMES</B></A> &nbsp;
  208. &nbsp;<A HREF="MiscUtilities.StringCompare.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  209. &nbsp;
  210. <NOSCRIPT>
  211. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  212. </NOSCRIPT>
  213. </FONT></TD>
  214. </TR>
  215. <TR>
  216. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  217. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  218. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  219. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  220. </TR>
  221. </TABLE>
  222. <A NAME="skip-navbar_bottom"></A>
  223. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  224. <HR>
  225. </BODY>
  226. </HTML>