/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>
7MiscUtilities.Compare (jEdit API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.MiscUtilities.Compare interface">
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.Compare.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.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>
51 <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.MenuItemCompare.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.Compare.html" target="_top"><B>FRAMES</B></A>
54 <A HREF="MiscUtilities.Compare.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67DETAIL: FIELD | CONSTR | <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>
79Interface MiscUtilities.Compare</H2>
80<DL>
81<DT><B>All Superinterfaces:</B> <DD>java.util.Comparator</DD>
82</DL>
83<DL>
84<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>
85</DL>
86<DL>
87<DT><B>Enclosing class:</B><DD><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html" title="class in org.gjt.sp.jedit">MiscUtilities</A></DD>
88</DL>
89<HR>
90<B>Deprecated.</B>
91<P>
92<DL>
93<DT><PRE><FONT SIZE="-1">@Deprecated
94</FONT>public static interface <B>MiscUtilities.Compare</B><DT>extends java.util.Comparator</DL>
95</PRE>
96
97<P>
98An interface for comparing objects. This is a hold-over from
99 they days when jEdit had its own sorting API due to JDK 1.1
100 compatibility requirements. Use <code>java.util.Comparator</code>
101 instead.
102<P>
103
104<P>
105<HR>
106
107<P>
108
109<!-- ========== METHOD SUMMARY =========== -->
110
111<A NAME="method_summary"><!-- --></A>
112<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
113<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
114<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
115<B>Method Summary</B></FONT></TH>
116</TR>
117<TR BGCOLOR="white" CLASS="TableRowColor">
118<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
119<CODE> int</CODE></FONT></TD>
120<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 obj1,
121 java.lang.Object obj2)</CODE>
122
123<BR>
124 <B>Deprecated.</B> </TD>
125</TR>
126</TABLE>
127 <A NAME="methods_inherited_from_class_java.util.Comparator"><!-- --></A>
128<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
130<TH ALIGN="left"><B>Methods inherited from interface java.util.Comparator</B></TH>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD><CODE>equals</CODE></TD>
134</TR>
135</TABLE>
136
137<P>
138
139<!-- ============ METHOD DETAIL ========== -->
140
141<A NAME="method_detail"><!-- --></A>
142<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
144<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
145<B>Method Detail</B></FONT></TH>
146</TR>
147</TABLE>
148
149<A NAME="compare(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
150compare</H3>
151<PRE>
152int <B>compare</B>(java.lang.Object obj1,
153 java.lang.Object obj2)</PRE>
154<DL>
155<DD><B>Deprecated.</B> <DD><DL>
156<DT><B>Specified by:</B><DD><CODE>compare</CODE> in interface <CODE>java.util.Comparator</CODE></DL>
157</DD>
158<DD><DL>
159</DL>
160</DD>
161</DL>
162<!-- ========= END OF CLASS DATA ========= -->
163<HR>
164
165
166<!-- ======= START OF BOTTOM NAVBAR ====== -->
167<A NAME="navbar_bottom"><!-- --></A>
168<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
169<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
170<TR>
171<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
172<A NAME="navbar_bottom_firstrow"><!-- --></A>
173<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
174 <TR ALIGN="center" VALIGN="top">
175 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
176 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
177 <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
178 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MiscUtilities.Compare.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
179 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
180 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
181 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
182 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
183 </TR>
184</TABLE>
185</TD>
186<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
187</EM>
188</TD>
189</TR>
190
191<TR>
192<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
193 <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>
194 <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.MenuItemCompare.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
195<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
196 <A HREF="../../../../index.html?org/gjt/sp/jedit/MiscUtilities.Compare.html" target="_top"><B>FRAMES</B></A>
197 <A HREF="MiscUtilities.Compare.html" target="_top"><B>NO FRAMES</B></A>
198
199<NOSCRIPT>
200 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
201</NOSCRIPT>
202
203
204</FONT></TD>
205</TR>
206<TR>
207<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
208 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
209<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
210DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
211</TR>
212</TABLE>
213<A NAME="skip-navbar_bottom"></A>
214<!-- ======== END OF BOTTOM NAVBAR ======= -->
215
216<HR>
217
218</BODY>
219</HTML>