Home | History | Annotate | Download | only in class-use
      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.6.0-google-internal) on Mon Jan 04 20:48:01 PST 2010 -->
      6 <TITLE>
      7 Uses of Class com.google.common.collect.Ordering (Guava Libraries 2010.01.04)
      8 </TITLE>
      9 
     10 <META NAME="date" CONTENT="2010-01-04">
     11 
     12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
     13 
     14 <SCRIPT type="text/javascript">
     15 function windowTitle()
     16 {
     17     if (location.href.indexOf('is-external=true') == -1) {
     18         parent.document.title="Uses of Class com.google.common.collect.Ordering (Guava Libraries 2010.01.04)";
     19     }
     20 }
     21 </SCRIPT>
     22 <NOSCRIPT>
     23 </NOSCRIPT>
     24 
     25 </HEAD>
     26 
     27 <BODY BGCOLOR="white" onload="windowTitle();">
     28 <HR>
     29 
     30 
     31 <!-- ========= START OF TOP NAVBAR ======= -->
     32 <A NAME="navbar_top"><!-- --></A>
     33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
     34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
     35 <TR>
     36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
     37 <A NAME="navbar_top_firstrow"><!-- --></A>
     38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
     39   <TR ALIGN="center" VALIGN="top">
     40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
     41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
     42   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
     43   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
     44   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
     45   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
     46   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
     47   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
     48   </TR>
     49 </TABLE>
     50 </TD>
     51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
     52 </EM>
     53 </TD>
     54 </TR>
     55 
     56 <TR>
     57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
     58 &nbsp;PREV&nbsp;
     59 &nbsp;NEXT</FONT></TD>
     60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
     61   <A HREF="../../../../../index.html?com/google/common/collect//class-useOrdering.html" target="_top"><B>FRAMES</B></A>  &nbsp;
     62 &nbsp;<A HREF="Ordering.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
     63 &nbsp;<SCRIPT type="text/javascript">
     64   <!--
     65   if(window==top) {
     66     document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
     67   }
     68   //-->
     69 </SCRIPT>
     70 <NOSCRIPT>
     71   <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
     72 </NOSCRIPT>
     73 
     74 
     75 </FONT></TD>
     76 </TR>
     77 </TABLE>
     78 <A NAME="skip-navbar_top"></A>
     79 <!-- ========= END OF TOP NAVBAR ========= -->
     80 
     81 <HR>
     82 <CENTER>
     83 <H2>
     84 <B>Uses of Class<br>com.google.common.collect.Ordering</B></H2>
     85 </CENTER>
     86 
     87 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
     88 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
     89 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
     90 Packages that use <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A></FONT></TH>
     91 </TR>
     92 <TR BGCOLOR="white" CLASS="TableRowColor">
     93 <TD><A HREF="#com.google.common.collect"><B>com.google.common.collect</B></A></TD>
     94 <TD>This package contains generic collection interfaces and implementations, and
     95  other utilities for working with collections.&nbsp;</TD>
     96 </TR>
     97 </TABLE>
     98 &nbsp;
     99 <P>
    100 <A NAME="com.google.common.collect"><!-- --></A>
    101 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    102 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    103 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
    104 Uses of <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A> in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A></FONT></TH>
    105 </TR>
    106 </TABLE>
    107 &nbsp;
    108 <P>
    109 
    110 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    111 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
    112 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A> that return <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A></FONT></TH>
    113 </TR>
    114 <TR BGCOLOR="white" CLASS="TableRowColor">
    115 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    116 <CODE>static&nbsp;<A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt;</CODE></FONT></TD>
    117 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#arbitrary()">arbitrary</A></B>()</CODE>
    118 
    119 <BR>
    120 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an arbitrary ordering over all objects, for which <code>compare(a,
    121  b) == 0</code> implies <code>a == b</code> (identity equality).</TD>
    122 </TR>
    123 <TR BGCOLOR="white" CLASS="TableRowColor">
    124 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    125 <CODE>
    126 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    127 <TR ALIGN="right" VALIGN="">
    128 <TD NOWRAP><FONT SIZE="-1">
    129 <CODE>&lt;U extends <A HREF="../../../../../com/google/common/collect/Ordering.html" title="type parameter in Ordering">T</A>&gt; 
    130 <BR>
    131 <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;U&gt;</CODE></FONT></TD>
    132 </TR>
    133 </TABLE>
    134 </CODE></FONT></TD>
    135 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#compound(java.util.Comparator)">compound</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</A>&lt;? super U&gt;&nbsp;secondaryComparator)</CODE>
    136 
    137 <BR>
    138 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an ordering which first uses the ordering <code>this</code>, but which
    139  in the event of a "tie", then delegates to <code>secondaryComparator</code>.</TD>
    140 </TR>
    141 <TR BGCOLOR="white" CLASS="TableRowColor">
    142 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    143 <CODE>static
    144 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    145 <TR ALIGN="right" VALIGN="">
    146 <TD NOWRAP><FONT SIZE="-1">
    147 <CODE>&lt;T&gt; <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;T&gt;</CODE></FONT></TD>
    148 </TR>
    149 </TABLE>
    150 </CODE></FONT></TD>
    151 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#compound(java.lang.Iterable)">compound</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;? extends <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</A>&lt;? super T&gt;&gt;&nbsp;comparators)</CODE>
    152 
    153 <BR>
    154 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an ordering which tries each given comparator in order until a
    155  non-zero result is found, returning that result, and returning zero only if
    156  all comparators return zero.</TD>
    157 </TR>
    158 <TR BGCOLOR="white" CLASS="TableRowColor">
    159 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    160 <CODE>static
    161 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    162 <TR ALIGN="right" VALIGN="">
    163 <TD NOWRAP><FONT SIZE="-1">
    164 <CODE>&lt;T&gt; <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;T&gt;</CODE></FONT></TD>
    165 </TR>
    166 </TABLE>
    167 </CODE></FONT></TD>
    168 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#explicit(java.util.List)">explicit</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt;&nbsp;valuesInOrder)</CODE>
    169 
    170 <BR>
    171 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an ordering that compares objects according to the order in
    172  which they appear in the given list.</TD>
    173 </TR>
    174 <TR BGCOLOR="white" CLASS="TableRowColor">
    175 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    176 <CODE>static
    177 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    178 <TR ALIGN="right" VALIGN="">
    179 <TD NOWRAP><FONT SIZE="-1">
    180 <CODE>&lt;T&gt; <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;T&gt;</CODE></FONT></TD>
    181 </TR>
    182 </TABLE>
    183 </CODE></FONT></TD>
    184 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#explicit(T, T...)">explicit</A></B>(T&nbsp;leastValue,
    185          T...&nbsp;remainingValuesInOrder)</CODE>
    186 
    187 <BR>
    188 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an ordering that compares objects according to the order in
    189  which they are given to this method.</TD>
    190 </TR>
    191 <TR BGCOLOR="white" CLASS="TableRowColor">
    192 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    193 <CODE>static
    194 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    195 <TR ALIGN="right" VALIGN="">
    196 <TD NOWRAP><FONT SIZE="-1">
    197 <CODE>&lt;T&gt; <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;T&gt;</CODE></FONT></TD>
    198 </TR>
    199 </TABLE>
    200 </CODE></FONT></TD>
    201 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#from(java.util.Comparator)">from</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</A>&lt;T&gt;&nbsp;comparator)</CODE>
    202 
    203 <BR>
    204 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an ordering for a pre-existing <code>comparator</code>.</TD>
    205 </TR>
    206 <TR BGCOLOR="white" CLASS="TableRowColor">
    207 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    208 <CODE>static
    209 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    210 <TR ALIGN="right" VALIGN="">
    211 <TD NOWRAP><FONT SIZE="-1">
    212 <CODE>&lt;T&gt; <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;T&gt;</CODE></FONT></TD>
    213 </TR>
    214 </TABLE>
    215 </CODE></FONT></TD>
    216 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#from(com.google.common.collect.Ordering)">from</A></B>(<A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;T&gt;&nbsp;ordering)</CODE>
    217 
    218 <BR>
    219 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>no need to use this</I></TD>
    220 </TR>
    221 <TR BGCOLOR="white" CLASS="TableRowColor">
    222 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    223 <CODE>
    224 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    225 <TR ALIGN="right" VALIGN="">
    226 <TD NOWRAP><FONT SIZE="-1">
    227 <CODE>&lt;S extends <A HREF="../../../../../com/google/common/collect/Ordering.html" title="type parameter in Ordering">T</A>&gt; 
    228 <BR>
    229 <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;S&gt;&gt;</CODE></FONT></TD>
    230 </TR>
    231 </TABLE>
    232 </CODE></FONT></TD>
    233 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#lexicographical()">lexicographical</A></B>()</CODE>
    234 
    235 <BR>
    236 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new ordering which sorts iterables by comparing corresponding
    237  elements pairwise until a nonzero result is found; imposes "dictionary
    238  order".</TD>
    239 </TR>
    240 <TR BGCOLOR="white" CLASS="TableRowColor">
    241 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    242 <CODE>static
    243 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    244 <TR ALIGN="right" VALIGN="">
    245 <TD NOWRAP><FONT SIZE="-1">
    246 <CODE>&lt;C extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>&gt; 
    247 <BR>
    248 <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;C&gt;</CODE></FONT></TD>
    249 </TR>
    250 </TABLE>
    251 </CODE></FONT></TD>
    252 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#natural()">natural</A></B>()</CODE>
    253 
    254 <BR>
    255 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a serializable ordering that uses the natural order of the values.</TD>
    256 </TR>
    257 <TR BGCOLOR="white" CLASS="TableRowColor">
    258 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    259 <CODE>
    260 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    261 <TR ALIGN="right" VALIGN="">
    262 <TD NOWRAP><FONT SIZE="-1">
    263 <CODE>&lt;S extends <A HREF="../../../../../com/google/common/collect/Ordering.html" title="type parameter in Ordering">T</A>&gt; 
    264 <BR>
    265 <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;S&gt;</CODE></FONT></TD>
    266 </TR>
    267 </TABLE>
    268 </CODE></FONT></TD>
    269 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#nullsFirst()">nullsFirst</A></B>()</CODE>
    270 
    271 <BR>
    272 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an ordering that treats <code>null</code> as less than all other values
    273  and uses <code>this</code> to compare non-null values.</TD>
    274 </TR>
    275 <TR BGCOLOR="white" CLASS="TableRowColor">
    276 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    277 <CODE>
    278 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    279 <TR ALIGN="right" VALIGN="">
    280 <TD NOWRAP><FONT SIZE="-1">
    281 <CODE>&lt;S extends <A HREF="../../../../../com/google/common/collect/Ordering.html" title="type parameter in Ordering">T</A>&gt; 
    282 <BR>
    283 <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;S&gt;</CODE></FONT></TD>
    284 </TR>
    285 </TABLE>
    286 </CODE></FONT></TD>
    287 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#nullsLast()">nullsLast</A></B>()</CODE>
    288 
    289 <BR>
    290 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an ordering that treats <code>null</code> as greater than all other
    291  values and uses this ordering to compare non-null values.</TD>
    292 </TR>
    293 <TR BGCOLOR="white" CLASS="TableRowColor">
    294 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    295 <CODE>
    296 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    297 <TR ALIGN="right" VALIGN="">
    298 <TD NOWRAP><FONT SIZE="-1">
    299 <CODE>&lt;F&gt; <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;F&gt;</CODE></FONT></TD>
    300 </TR>
    301 </TABLE>
    302 </CODE></FONT></TD>
    303 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#onResultOf(com.google.common.base.Function)">onResultOf</A></B>(<A HREF="../../../../../com/google/common/base/Function.html" title="interface in com.google.common.base">Function</A>&lt;F,? extends <A HREF="../../../../../com/google/common/collect/Ordering.html" title="type parameter in Ordering">T</A>&gt;&nbsp;function)</CODE>
    304 
    305 <BR>
    306 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new ordering on <code>F</code> which orders elements by first applying
    307  a function to them, then comparing those results using <code>this</code>.</TD>
    308 </TR>
    309 <TR BGCOLOR="white" CLASS="TableRowColor">
    310 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    311 <CODE>
    312 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    313 <TR ALIGN="right" VALIGN="">
    314 <TD NOWRAP><FONT SIZE="-1">
    315 <CODE>&lt;S extends <A HREF="../../../../../com/google/common/collect/Ordering.html" title="type parameter in Ordering">T</A>&gt; 
    316 <BR>
    317 <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;S&gt;</CODE></FONT></TD>
    318 </TR>
    319 </TABLE>
    320 </CODE></FONT></TD>
    321 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#reverse()">reverse</A></B>()</CODE>
    322 
    323 <BR>
    324 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the reverse of this ordering; the <code>Ordering</code> equivalent to
    325  <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collections.html?is-external=true#reverseOrder(java.util.Comparator)" title="class or interface in java.util"><CODE>Collections.reverseOrder(Comparator)</CODE></A>.</TD>
    326 </TR>
    327 <TR BGCOLOR="white" CLASS="TableRowColor">
    328 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    329 <CODE>static&nbsp;<A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt;</CODE></FONT></TD>
    330 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#usingToString()">usingToString</A></B>()</CODE>
    331 
    332 <BR>
    333 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an ordering that compares objects by the natural ordering of their
    334  string representations as returned by <code>toString()</code>.</TD>
    335 </TR>
    336 </TABLE>
    337 &nbsp;
    338 <P>
    339 
    340 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    341 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
    342 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A> with parameters of type <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A></FONT></TH>
    343 </TR>
    344 <TR BGCOLOR="white" CLASS="TableRowColor">
    345 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    346 <CODE>static
    347 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    348 <TR ALIGN="right" VALIGN="">
    349 <TD NOWRAP><FONT SIZE="-1">
    350 <CODE>&lt;T&gt; <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;T&gt;</CODE></FONT></TD>
    351 </TR>
    352 </TABLE>
    353 </CODE></FONT></TD>
    354 <TD><CODE><B>Ordering.</B><B><A HREF="../../../../../com/google/common/collect/Ordering.html#from(com.google.common.collect.Ordering)">from</A></B>(<A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A>&lt;T&gt;&nbsp;ordering)</CODE>
    355 
    356 <BR>
    357 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>no need to use this</I></TD>
    358 </TR>
    359 </TABLE>
    360 &nbsp;
    361 <P>
    362 <HR>
    363 
    364 
    365 <!-- ======= START OF BOTTOM NAVBAR ====== -->
    366 <A NAME="navbar_bottom"><!-- --></A>
    367 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
    368 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
    369 <TR>
    370 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
    371 <A NAME="navbar_bottom_firstrow"><!-- --></A>
    372 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
    373   <TR ALIGN="center" VALIGN="top">
    374   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    375   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    376   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
    377   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
    378   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    379   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    380   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    381   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    382   </TR>
    383 </TABLE>
    384 </TD>
    385 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
    386 </EM>
    387 </TD>
    388 </TR>
    389 
    390 <TR>
    391 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    392 &nbsp;PREV&nbsp;
    393 &nbsp;NEXT</FONT></TD>
    394 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    395   <A HREF="../../../../../index.html?com/google/common/collect//class-useOrdering.html" target="_top"><B>FRAMES</B></A>  &nbsp;
    396 &nbsp;<A HREF="Ordering.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
    397 &nbsp;<SCRIPT type="text/javascript">
    398   <!--
    399   if(window==top) {
    400     document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
    401   }
    402   //-->
    403 </SCRIPT>
    404 <NOSCRIPT>
    405   <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
    406 </NOSCRIPT>
    407 
    408 
    409 </FONT></TD>
    410 </TR>
    411 </TABLE>
    412 <A NAME="skip-navbar_bottom"></A>
    413 <!-- ======== END OF BOTTOM NAVBAR ======= -->
    414 
    415 <HR>
    416 
    417 </BODY>
    418 </HTML>
    419