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 com.google.common.primitives (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="com.google.common.primitives (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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
     42   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
     43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-use.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/io/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
     59 &nbsp;<A HREF="../../../../com/google/common/util/concurrent/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
     60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
     61   <A HREF="../../../../index.html?com/google/common/primitives/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
     62 &nbsp;<A HREF="package-summary.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 <H2>
     83 Package com.google.common.primitives
     84 </H2>
     85 
     86 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
     87 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
     88 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
     89 <B>Class Summary</B></FONT></TH>
     90 </TR>
     91 <TR BGCOLOR="white" CLASS="TableRowColor">
     92 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/Booleans.html" title="class in com.google.common.primitives">Booleans</A></B></TD>
     93 <TD>Static utility methods pertaining to <code>boolean</code> primitives, that are not
     94  already found in either <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><CODE>Boolean</CODE></A> or <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true" title="class or interface in java.util"><CODE>Arrays</CODE></A>.</TD>
     95 </TR>
     96 <TR BGCOLOR="white" CLASS="TableRowColor">
     97 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/Bytes.html" title="class in com.google.common.primitives">Bytes</A></B></TD>
     98 <TD>Static utility methods pertaining to <code>byte</code> primitives, that are not
     99  already found in either <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang"><CODE>Byte</CODE></A> or <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true" title="class or interface in java.util"><CODE>Arrays</CODE></A>, <i>and interpret
    100  bytes as neither signed nor unsigned</i>.</TD>
    101 </TR>
    102 <TR BGCOLOR="white" CLASS="TableRowColor">
    103 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/Chars.html" title="class in com.google.common.primitives">Chars</A></B></TD>
    104 <TD>Static utility methods pertaining to <code>char</code> primitives, that are not
    105  already found in either <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang"><CODE>Character</CODE></A> or <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true" title="class or interface in java.util"><CODE>Arrays</CODE></A>.</TD>
    106 </TR>
    107 <TR BGCOLOR="white" CLASS="TableRowColor">
    108 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/Doubles.html" title="class in com.google.common.primitives">Doubles</A></B></TD>
    109 <TD>Static utility methods pertaining to <code>double</code> primitives, that are not
    110  already found in either <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><CODE>Double</CODE></A> or <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true" title="class or interface in java.util"><CODE>Arrays</CODE></A>.</TD>
    111 </TR>
    112 <TR BGCOLOR="white" CLASS="TableRowColor">
    113 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/Floats.html" title="class in com.google.common.primitives">Floats</A></B></TD>
    114 <TD>Static utility methods pertaining to <code>float</code> primitives, that are not
    115  already found in either <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang"><CODE>Float</CODE></A> or <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true" title="class or interface in java.util"><CODE>Arrays</CODE></A>.</TD>
    116 </TR>
    117 <TR BGCOLOR="white" CLASS="TableRowColor">
    118 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/Ints.html" title="class in com.google.common.primitives">Ints</A></B></TD>
    119 <TD>Static utility methods pertaining to <code>int</code> primitives, that are not
    120  already found in either <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><CODE>Integer</CODE></A> or <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true" title="class or interface in java.util"><CODE>Arrays</CODE></A>.</TD>
    121 </TR>
    122 <TR BGCOLOR="white" CLASS="TableRowColor">
    123 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/Longs.html" title="class in com.google.common.primitives">Longs</A></B></TD>
    124 <TD>Static utility methods pertaining to <code>long</code> primitives, that are not
    125  already found in either <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><CODE>Long</CODE></A> or <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true" title="class or interface in java.util"><CODE>Arrays</CODE></A>.</TD>
    126 </TR>
    127 <TR BGCOLOR="white" CLASS="TableRowColor">
    128 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/Primitives.html" title="class in com.google.common.primitives">Primitives</A></B></TD>
    129 <TD>Contains static utility methods pertaining to primitive types and their
    130  corresponding wrapper types.</TD>
    131 </TR>
    132 <TR BGCOLOR="white" CLASS="TableRowColor">
    133 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/Shorts.html" title="class in com.google.common.primitives">Shorts</A></B></TD>
    134 <TD>Static utility methods pertaining to <code>short</code> primitives, that are not
    135  already found in either <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang"><CODE>Short</CODE></A> or <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true" title="class or interface in java.util"><CODE>Arrays</CODE></A>.</TD>
    136 </TR>
    137 <TR BGCOLOR="white" CLASS="TableRowColor">
    138 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/SignedBytes.html" title="class in com.google.common.primitives">SignedBytes</A></B></TD>
    139 <TD>Static utility methods pertaining to <code>byte</code> primitives that
    140  interpret values as signed.</TD>
    141 </TR>
    142 <TR BGCOLOR="white" CLASS="TableRowColor">
    143 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/primitives/UnsignedBytes.html" title="class in com.google.common.primitives">UnsignedBytes</A></B></TD>
    144 <TD>Static utility methods pertaining to <code>byte</code> primitives that interpret
    145  values as <i>unsigned</i> (that is, any negative value <code>b</code> is treated
    146  as the positive value <code>256 + b</code>).</TD>
    147 </TR>
    148 </TABLE>
    149 &nbsp;
    150 
    151 <P>
    152 <DL>
    153 </DL>
    154 <HR>
    155 
    156 
    157 <!-- ======= START OF BOTTOM NAVBAR ====== -->
    158 <A NAME="navbar_bottom"><!-- --></A>
    159 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
    160 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
    161 <TR>
    162 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
    163 <A NAME="navbar_bottom_firstrow"><!-- --></A>
    164 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
    165   <TR ALIGN="center" VALIGN="top">
    166   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    167   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
    168   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
    169   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
    170   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    171   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    172   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    173   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    174   </TR>
    175 </TABLE>
    176 </TD>
    177 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
    178 </EM>
    179 </TD>
    180 </TR>
    181 
    182 <TR>
    183 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    184 &nbsp;<A HREF="../../../../com/google/common/io/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
    185 &nbsp;<A HREF="../../../../com/google/common/util/concurrent/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
    186 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    187   <A HREF="../../../../index.html?com/google/common/primitives/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
    188 &nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
    189 &nbsp;<SCRIPT type="text/javascript">
    190   <!--
    191   if(window==top) {
    192     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
    193   }
    194   //-->
    195 </SCRIPT>
    196 <NOSCRIPT>
    197   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
    198 </NOSCRIPT>
    199 
    200 
    201 </FONT></TD>
    202 </TR>
    203 </TABLE>
    204 <A NAME="skip-navbar_bottom"></A>
    205 <!-- ======== END OF BOTTOM NAVBAR ======= -->
    206 
    207 <HR>
    208 
    209 </BODY>
    210 </HTML>
    211