Home | History | Annotate | Download | only in primitives
      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:00 PST 2010 -->
      6 <TITLE>
      7 SignedBytes (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="SignedBytes (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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
     43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SignedBytes.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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;<A HREF="../../../../com/google/common/primitives/Shorts.html" title="class in com.google.common.primitives"><B>PREV CLASS</B></A>&nbsp;
     59 &nbsp;<A HREF="../../../../com/google/common/primitives/UnsignedBytes.html" title="class in com.google.common.primitives"><B>NEXT CLASS</B></A></FONT></TD>
     60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
     61   <A HREF="../../../../index.html?com/google/common/primitives/SignedBytes.html" target="_top"><B>FRAMES</B></A>  &nbsp;
     62 &nbsp;<A HREF="SignedBytes.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 <TR>
     78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
     79   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
     80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
     81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
     82 </TR>
     83 </TABLE>
     84 <A NAME="skip-navbar_top"></A>
     85 <!-- ========= END OF TOP NAVBAR ========= -->
     86 
     87 <HR>
     88 <!-- ======== START OF CLASS DATA ======== -->
     89 <H2>
     90 <FONT SIZE="-1">
     91 com.google.common.primitives</FONT>
     92 <BR>
     93 Class SignedBytes</H2>
     94 <PRE>
     95 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
     96   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.common.primitives.SignedBytes</B>
     97 </PRE>
     98 <HR>
     99 <DL>
    100 <DT><PRE>public final class <B>SignedBytes</B><DT>extends <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></DL>
    101 </PRE>
    102 
    103 <P>
    104 Static utility methods pertaining to <code>byte</code> primitives that
    105  interpret values as signed. The corresponding methods that treat the values
    106  as unsigned are found in <A HREF="../../../../com/google/common/primitives/UnsignedBytes.html" title="class in com.google.common.primitives"><CODE>UnsignedBytes</CODE></A>, and the methods for which
    107  signedness is not an issue are in <A HREF="../../../../com/google/common/primitives/Bytes.html" title="class in com.google.common.primitives"><CODE>Bytes</CODE></A>.
    108 <P>
    109 
    110 <P>
    111 <DL>
    112 <DT><B>Since:</B></DT>
    113   <DD>2009.09.15 <b>tentative</b></DD>
    114 <DT><B>Author:</B></DT>
    115   <DD>Kevin Bourrillion</DD>
    116 </DL>
    117 <HR>
    118 
    119 <P>
    120 
    121 <!-- ========== METHOD SUMMARY =========== -->
    122 
    123 <A NAME="method_summary"><!-- --></A>
    124 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    125 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    126 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
    127 <B>Method Summary</B></FONT></TH>
    128 </TR>
    129 <TR BGCOLOR="white" CLASS="TableRowColor">
    130 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    131 <CODE>static&nbsp;byte</CODE></FONT></TD>
    132 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/SignedBytes.html#checkedCast(long)">checkedCast</A></B>(long&nbsp;value)</CODE>
    133 
    134 <BR>
    135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <code>byte</code> value that is equal to <code>value</code>, if possible.</TD>
    136 </TR>
    137 <TR BGCOLOR="white" CLASS="TableRowColor">
    138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    139 <CODE>static&nbsp;int</CODE></FONT></TD>
    140 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/SignedBytes.html#compare(byte, byte)">compare</A></B>(byte&nbsp;a,
    141         byte&nbsp;b)</CODE>
    142 
    143 <BR>
    144 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compares the two specified <code>byte</code> values.</TD>
    145 </TR>
    146 <TR BGCOLOR="white" CLASS="TableRowColor">
    147 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    148 <CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
    149 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/SignedBytes.html#join(java.lang.String, byte...)">join</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;separator,
    150      byte...&nbsp;array)</CODE>
    151 
    152 <BR>
    153 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string containing the supplied <code>byte</code> values separated
    154  by <code>separator</code>.</TD>
    155 </TR>
    156 <TR BGCOLOR="white" CLASS="TableRowColor">
    157 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    158 <CODE>static&nbsp;<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;byte[]&gt;</CODE></FONT></TD>
    159 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/SignedBytes.html#lexicographicalComparator()">lexicographicalComparator</A></B>()</CODE>
    160 
    161 <BR>
    162 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a comparator that compares two <code>byte</code> arrays
    163  lexicographically.</TD>
    164 </TR>
    165 <TR BGCOLOR="white" CLASS="TableRowColor">
    166 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    167 <CODE>static&nbsp;byte</CODE></FONT></TD>
    168 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/SignedBytes.html#max(byte...)">max</A></B>(byte...&nbsp;array)</CODE>
    169 
    170 <BR>
    171 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the greatest value present in <code>array</code>.</TD>
    172 </TR>
    173 <TR BGCOLOR="white" CLASS="TableRowColor">
    174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    175 <CODE>static&nbsp;byte</CODE></FONT></TD>
    176 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/SignedBytes.html#min(byte...)">min</A></B>(byte...&nbsp;array)</CODE>
    177 
    178 <BR>
    179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the least value present in <code>array</code>.</TD>
    180 </TR>
    181 <TR BGCOLOR="white" CLASS="TableRowColor">
    182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    183 <CODE>static&nbsp;byte</CODE></FONT></TD>
    184 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/SignedBytes.html#saturatedCast(long)">saturatedCast</A></B>(long&nbsp;value)</CODE>
    185 
    186 <BR>
    187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <code>byte</code> nearest in value to <code>value</code>.</TD>
    188 </TR>
    189 </TABLE>
    190 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
    191 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    192 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
    193 <TH ALIGN="left"><B>Methods inherited from class java.lang.<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></B></TH>
    194 </TR>
    195 <TR BGCOLOR="white" CLASS="TableRowColor">
    196 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
    197 </TR>
    198 </TABLE>
    199 &nbsp;
    200 <P>
    201 
    202 <!-- ============ METHOD DETAIL ========== -->
    203 
    204 <A NAME="method_detail"><!-- --></A>
    205 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    206 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    207 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
    208 <B>Method Detail</B></FONT></TH>
    209 </TR>
    210 </TABLE>
    211 
    212 <A NAME="checkedCast(long)"><!-- --></A><H3>
    213 checkedCast</H3>
    214 <PRE>
    215 public static byte <B>checkedCast</B>(long&nbsp;value)</PRE>
    216 <DL>
    217 <DD>Returns the <code>byte</code> value that is equal to <code>value</code>, if possible.
    218 <P>
    219 <DD><DL>
    220 <DT><B>Parameters:</B><DD><CODE>value</CODE> - any value in the range of the <code>byte</code> type
    221 <DT><B>Returns:</B><DD>the <code>byte</code> value that equals <code>value</code>
    222 <DT><B>Throws:</B>
    223 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>value</code> is greater than <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Byte.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><CODE>Byte.MAX_VALUE</CODE></A> or less than <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Byte.html?is-external=true#MIN_VALUE" title="class or interface in java.lang"><CODE>Byte.MIN_VALUE</CODE></A></DL>
    224 </DD>
    225 </DL>
    226 <HR>
    227 
    228 <A NAME="saturatedCast(long)"><!-- --></A><H3>
    229 saturatedCast</H3>
    230 <PRE>
    231 public static byte <B>saturatedCast</B>(long&nbsp;value)</PRE>
    232 <DL>
    233 <DD>Returns the <code>byte</code> nearest in value to <code>value</code>.
    234 <P>
    235 <DD><DL>
    236 <DT><B>Parameters:</B><DD><CODE>value</CODE> - any <code>long</code> value
    237 <DT><B>Returns:</B><DD>the same value cast to <code>byte</code> if it is in the range of the
    238      <code>byte</code> type, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Byte.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><CODE>Byte.MAX_VALUE</CODE></A> if it is too large,
    239      or <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Byte.html?is-external=true#MIN_VALUE" title="class or interface in java.lang"><CODE>Byte.MIN_VALUE</CODE></A> if it is too small</DL>
    240 </DD>
    241 </DL>
    242 <HR>
    243 
    244 <A NAME="compare(byte, byte)"><!-- --></A><H3>
    245 compare</H3>
    246 <PRE>
    247 public static int <B>compare</B>(byte&nbsp;a,
    248                           byte&nbsp;b)</PRE>
    249 <DL>
    250 <DD>Compares the two specified <code>byte</code> values. The sign of the value
    251  returned is the same as that of <code>((Byte) a).compareTo(b)</code>.
    252 <P>
    253 <DD><DL>
    254 <DT><B>Parameters:</B><DD><CODE>a</CODE> - the first <code>byte</code> to compare<DD><CODE>b</CODE> - the second <code>byte</code> to compare
    255 <DT><B>Returns:</B><DD>a negative value if <code>a</code> is less than <code>b</code>; a positive
    256      value if <code>a</code> is greater than <code>b</code>; or zero if they are equal</DL>
    257 </DD>
    258 </DL>
    259 <HR>
    260 
    261 <A NAME="min(byte...)"><!-- --></A><H3>
    262 min</H3>
    263 <PRE>
    264 public static byte <B>min</B>(byte...&nbsp;array)</PRE>
    265 <DL>
    266 <DD>Returns the least value present in <code>array</code>.
    267 <P>
    268 <DD><DL>
    269 <DT><B>Parameters:</B><DD><CODE>array</CODE> - a <i>nonempty</i> array of <code>byte</code> values
    270 <DT><B>Returns:</B><DD>the value present in <code>array</code> that is less than or equal to
    271      every other value in the array
    272 <DT><B>Throws:</B>
    273 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>array</code> is empty</DL>
    274 </DD>
    275 </DL>
    276 <HR>
    277 
    278 <A NAME="max(byte...)"><!-- --></A><H3>
    279 max</H3>
    280 <PRE>
    281 public static byte <B>max</B>(byte...&nbsp;array)</PRE>
    282 <DL>
    283 <DD>Returns the greatest value present in <code>array</code>.
    284 <P>
    285 <DD><DL>
    286 <DT><B>Parameters:</B><DD><CODE>array</CODE> - a <i>nonempty</i> array of <code>byte</code> values
    287 <DT><B>Returns:</B><DD>the value present in <code>array</code> that is greater than or equal to
    288      every other value in the array
    289 <DT><B>Throws:</B>
    290 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>array</code> is empty</DL>
    291 </DD>
    292 </DL>
    293 <HR>
    294 
    295 <A NAME="join(java.lang.String, byte...)"><!-- --></A><H3>
    296 join</H3>
    297 <PRE>
    298 public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>join</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;separator,
    299                           byte...&nbsp;array)</PRE>
    300 <DL>
    301 <DD>Returns a string containing the supplied <code>byte</code> values separated
    302  by <code>separator</code>. For example, <code>join(":", 0x01, 0x02, -0x01)</code>
    303  returns the string <code>"1:2:-1"</code>.
    304 <P>
    305 <DD><DL>
    306 <DT><B>Parameters:</B><DD><CODE>separator</CODE> - the text that should appear between consecutive values in
    307      the resulting string (but not at the start or end)<DD><CODE>array</CODE> - an array of <code>byte</code> values, possibly empty</DL>
    308 </DD>
    309 </DL>
    310 <HR>
    311 
    312 <A NAME="lexicographicalComparator()"><!-- --></A><H3>
    313 lexicographicalComparator</H3>
    314 <PRE>
    315 public static <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;byte[]&gt; <B>lexicographicalComparator</B>()</PRE>
    316 <DL>
    317 <DD>Returns a comparator that compares two <code>byte</code> arrays
    318  lexicographically. That is, it compares, using <A HREF="../../../../com/google/common/primitives/SignedBytes.html#compare(byte, byte)"><CODE>compare(byte, byte)</CODE></A>), the first pair of values that follow any common
    319  prefix, or when one array is a prefix of the other, treats the shorter
    320  array as the lesser. For example, <code>[] &lt; [0x01] &lt; [0x01, 0x80] &lt;
    321  [0x01, 0x7F] &lt; [0x02]</code>. Values are treated as signed.
    322 
    323  <p>The returned comparator is inconsistent with <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang"><CODE>Object.equals(Object)</CODE></A> (since arrays support only identity equality), but
    324  it is consistent with <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#equals(byte[], byte[])" title="class or interface in java.util"><CODE>Arrays.equals(byte[], byte[])</CODE></A>.
    325 <P>
    326 <DD><DL>
    327 <DT><B>Since:</B></DT>
    328   <DD>2010.01.04 <b>tentative</b></DD>
    329 <DT><B>See Also:</B><DD><a href="http://en.wikipedia.org/wiki/Lexicographical_order">
    330      Lexicographical order</a> article at Wikipedia</DL>
    331 </DD>
    332 </DL>
    333 <!-- ========= END OF CLASS DATA ========= -->
    334 <HR>
    335 
    336 
    337 <!-- ======= START OF BOTTOM NAVBAR ====== -->
    338 <A NAME="navbar_bottom"><!-- --></A>
    339 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
    340 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
    341 <TR>
    342 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
    343 <A NAME="navbar_bottom_firstrow"><!-- --></A>
    344 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
    345   <TR ALIGN="center" VALIGN="top">
    346   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    347   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    348   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    349   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SignedBytes.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
    350   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    351   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    352   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    353   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    354   </TR>
    355 </TABLE>
    356 </TD>
    357 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
    358 </EM>
    359 </TD>
    360 </TR>
    361 
    362 <TR>
    363 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    364 &nbsp;<A HREF="../../../../com/google/common/primitives/Shorts.html" title="class in com.google.common.primitives"><B>PREV CLASS</B></A>&nbsp;
    365 &nbsp;<A HREF="../../../../com/google/common/primitives/UnsignedBytes.html" title="class in com.google.common.primitives"><B>NEXT CLASS</B></A></FONT></TD>
    366 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    367   <A HREF="../../../../index.html?com/google/common/primitives/SignedBytes.html" target="_top"><B>FRAMES</B></A>  &nbsp;
    368 &nbsp;<A HREF="SignedBytes.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
    369 &nbsp;<SCRIPT type="text/javascript">
    370   <!--
    371   if(window==top) {
    372     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
    373   }
    374   //-->
    375 </SCRIPT>
    376 <NOSCRIPT>
    377   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
    378 </NOSCRIPT>
    379 
    380 
    381 </FONT></TD>
    382 </TR>
    383 <TR>
    384 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    385   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
    386 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    387 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
    388 </TR>
    389 </TABLE>
    390 <A NAME="skip-navbar_bottom"></A>
    391 <!-- ======== END OF BOTTOM NAVBAR ======= -->
    392 
    393 <HR>
    394 
    395 </BODY>
    396 </HTML>
    397