/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>
7MiscUtilities.StringCompare (jEdit API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.MiscUtilities.StringCompare class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14
15<NOSCRIPT>
16</NOSCRIPT>
17
18</HEAD>
19
20<BODY BGCOLOR="white" >
21
22
23<!-- ========= START OF TOP NAVBAR ======= -->
24<A NAME="navbar_top"><!-- --></A>
25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
27<TR>
28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
29<A NAME="navbar_top_firstrow"><!-- --></A>
30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
31 <TR ALIGN="center" VALIGN="top">
32 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
33 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
34 <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MiscUtilities.StringCompare.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
40 </TR>
41</TABLE>
42</TD>
43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
44</EM>
45</TD>
46</TR>
47
48<TR>
49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
50 <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.MenuItemCompare.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>
51 <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringICaseCompare.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 <A HREF="../../../../index.html?org/gjt/sp/jedit/MiscUtilities.StringCompare.html" target="_top"><B>FRAMES</B></A>
54 <A HREF="MiscUtilities.StringCompare.html" target="_top"><B>NO FRAMES</B></A>
55
56<NOSCRIPT>
57 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
58</NOSCRIPT>
59
60
61</FONT></TD>
62</TR>
63<TR>
64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
65 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
68</TR>
69</TABLE>
70<A NAME="skip-navbar_top"></A>
71<!-- ========= END OF TOP NAVBAR ========= -->
72
73<HR>
74<!-- ======== START OF CLASS DATA ======== -->
75<H2>
76<FONT SIZE="-1">
77org.gjt.sp.jedit</FONT>
78<BR>
79Class MiscUtilities.StringCompare</H2>
80<PRE>
81java.lang.Object
82 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.MiscUtilities.StringCompare</B>
83</PRE>
84<DL>
85<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>
86</DL>
87<DL>
88<DT><B>Enclosing class:</B><DD><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html" title="class in org.gjt.sp.jedit">MiscUtilities</A></DD>
89</DL>
90<HR>
91<B>Deprecated.</B> <I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.StringCompare.html" title="class in org.gjt.sp.util"><CODE>StandardUtilities.StringCompare</CODE></A></I>
92<P>
93<DL>
94<DT><PRE><FONT SIZE="-1">@Deprecated
95</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>
96</PRE>
97
98<P>
99Compares strings.
100<P>
101
102<P>
103<HR>
104
105<P>
106
107<!-- ======== CONSTRUCTOR SUMMARY ======== -->
108
109<A NAME="constructor_summary"><!-- --></A>
110<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
113<B>Constructor Summary</B></FONT></TH>
114</TR>
115<TR BGCOLOR="white" CLASS="TableRowColor">
116<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringCompare.html#MiscUtilities.StringCompare()">MiscUtilities.StringCompare</A></B>()</CODE>
117
118<BR>
119 <B>Deprecated.</B> </TD>
120</TR>
121</TABLE>
122
123<!-- ========== METHOD SUMMARY =========== -->
124
125<A NAME="method_summary"><!-- --></A>
126<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129<B>Method Summary</B></FONT></TH>
130</TR>
131<TR BGCOLOR="white" CLASS="TableRowColor">
132<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133<CODE> int</CODE></FONT></TD>
134<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 obj1,
135 java.lang.Object obj2)</CODE>
136
137<BR>
138 <B>Deprecated.</B> </TD>
139</TR>
140</TABLE>
141 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
142<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
144<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
148</TR>
149</TABLE>
150 <A NAME="methods_inherited_from_class_java.util.Comparator"><!-- --></A>
151<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
152<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
153<TH ALIGN="left"><B>Methods inherited from interface java.util.Comparator</B></TH>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD><CODE>equals</CODE></TD>
157</TR>
158</TABLE>
159
160<P>
161
162<!-- ========= CONSTRUCTOR DETAIL ======== -->
163
164<A NAME="constructor_detail"><!-- --></A>
165<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
166<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
167<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
168<B>Constructor Detail</B></FONT></TH>
169</TR>
170</TABLE>
171
172<A NAME="MiscUtilities.StringCompare()"><!-- --></A><H3>
173MiscUtilities.StringCompare</H3>
174<PRE>
175public <B>MiscUtilities.StringCompare</B>()</PRE>
176<DL>
177<DD><B>Deprecated.</B> </DL>
178
179<!-- ============ METHOD DETAIL ========== -->
180
181<A NAME="method_detail"><!-- --></A>
182<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
183<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
184<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
185<B>Method Detail</B></FONT></TH>
186</TR>
187</TABLE>
188
189<A NAME="compare(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
190compare</H3>
191<PRE>
192public int <B>compare</B>(java.lang.Object obj1,
193 java.lang.Object obj2)</PRE>
194<DL>
195<DD><B>Deprecated.</B> <DD><DL>
196<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>
197</DD>
198<DD><DL>
199</DL>
200</DD>
201</DL>
202<!-- ========= END OF CLASS DATA ========= -->
203<HR>
204
205
206<!-- ======= START OF BOTTOM NAVBAR ====== -->
207<A NAME="navbar_bottom"><!-- --></A>
208<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
209<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
210<TR>
211<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
212<A NAME="navbar_bottom_firstrow"><!-- --></A>
213<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
214 <TR ALIGN="center" VALIGN="top">
215 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
216 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
217 <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
218 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MiscUtilities.StringCompare.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
219 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
220 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
221 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
222 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
223 </TR>
224</TABLE>
225</TD>
226<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
227</EM>
228</TD>
229</TR>
230
231<TR>
232<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
233 <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.MenuItemCompare.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>
234 <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringICaseCompare.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
235<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
236 <A HREF="../../../../index.html?org/gjt/sp/jedit/MiscUtilities.StringCompare.html" target="_top"><B>FRAMES</B></A>
237 <A HREF="MiscUtilities.StringCompare.html" target="_top"><B>NO FRAMES</B></A>
238
239<NOSCRIPT>
240 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
241</NOSCRIPT>
242
243
244</FONT></TD>
245</TR>
246<TR>
247<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
248 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
249<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
250DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
251</TR>
252</TABLE>
253<A NAME="skip-navbar_bottom"></A>
254<!-- ======== END OF BOTTOM NAVBAR ======= -->
255
256<HR>
257
258</BODY>
259</HTML>