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_26) on Tue Jan 10 12:29:36 EST 2012 --> 6 <TITLE> 7 UnaryOp (dexmaker) 8 </TITLE> 9 10 <META NAME="date" CONTENT="2012-01-10"> 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="UnaryOp (dexmaker)"; 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> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 47 </TR> 48 </TABLE> 49 </TD> 50 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 51 </EM> 52 </TD> 53 </TR> 54 55 <TR> 56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 57 <A HREF="../../../com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker"><B>PREV CLASS</B></A> 58 NEXT CLASS</FONT></TD> 59 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 60 <A HREF="../../../index.html?com/google/dexmaker/UnaryOp.html" target="_top"><B>FRAMES</B></A> 61 <A HREF="UnaryOp.html" target="_top"><B>NO FRAMES</B></A> 62 <SCRIPT type="text/javascript"> 63 <!-- 64 if(window==top) { 65 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 66 } 67 //--> 68 </SCRIPT> 69 <NOSCRIPT> 70 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 71 </NOSCRIPT> 72 73 74 </FONT></TD> 75 </TR> 76 <TR> 77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 78 SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> 79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> 81 </TR> 82 </TABLE> 83 <A NAME="skip-navbar_top"></A> 84 <!-- ========= END OF TOP NAVBAR ========= --> 85 86 <HR> 87 <!-- ======== START OF CLASS DATA ======== --> 88 <H2> 89 <FONT SIZE="-1"> 90 com.google.dexmaker</FONT> 91 <BR> 92 Enum UnaryOp</H2> 93 <PRE> 94 <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> 95 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A><<A HREF="../../../com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A>> 96 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.dexmaker.UnaryOp</B> 97 </PRE> 98 <DL> 99 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A>></DD> 100 </DL> 101 <HR> 102 <DL> 103 <DT><PRE>public enum <B>UnaryOp</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><<A HREF="../../../com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A>></DL> 104 </PRE> 105 106 <P> 107 An operation on one value. 108 <P> 109 110 <P> 111 <HR> 112 113 <P> 114 <!-- =========== ENUM CONSTANT SUMMARY =========== --> 115 116 <A NAME="enum_constant_summary"><!-- --></A> 117 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 118 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 119 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 120 <B>Enum Constant Summary</B></FONT></TH> 121 </TR> 122 <TR BGCOLOR="white" CLASS="TableRowColor"> 123 <TD><CODE><B><A HREF="../../../com/google/dexmaker/UnaryOp.html#NEGATE">NEGATE</A></B></CODE> 124 125 <BR> 126 <code>-a</code>.</TD> 127 </TR> 128 <TR BGCOLOR="white" CLASS="TableRowColor"> 129 <TD><CODE><B><A HREF="../../../com/google/dexmaker/UnaryOp.html#NOT">NOT</A></B></CODE> 130 131 <BR> 132 <code>~a</code>.</TD> 133 </TR> 134 </TABLE> 135 136 <!-- ========== METHOD SUMMARY =========== --> 137 138 <A NAME="method_summary"><!-- --></A> 139 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 140 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 141 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 142 <B>Method Summary</B></FONT></TH> 143 </TR> 144 <TR BGCOLOR="white" CLASS="TableRowColor"> 145 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 146 <CODE>static <A HREF="../../../com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A></CODE></FONT></TD> 147 <TD><CODE><B><A HREF="../../../com/google/dexmaker/UnaryOp.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> 148 149 <BR> 150 Returns the enum constant of this type with the specified name.</TD> 151 </TR> 152 <TR BGCOLOR="white" CLASS="TableRowColor"> 153 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 154 <CODE>static <A HREF="../../../com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A>[]</CODE></FONT></TD> 155 <TD><CODE><B><A HREF="../../../com/google/dexmaker/UnaryOp.html#values()">values</A></B>()</CODE> 156 157 <BR> 158 Returns an array containing the constants of this enum type, in 159 the order they are declared.</TD> 160 </TR> 161 </TABLE> 162 <A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A> 163 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 164 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 165 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH> 166 </TR> 167 <TR BGCOLOR="white" CLASS="TableRowColor"> 168 <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD> 169 </TR> 170 </TABLE> 171 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 172 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 173 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 174 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> 175 </TR> 176 <TR BGCOLOR="white" CLASS="TableRowColor"> 177 <TD><CODE><A HREF="http://download.oracle.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://download.oracle.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://download.oracle.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://download.oracle.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://download.oracle.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://download.oracle.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> 178 </TR> 179 </TABLE> 180 181 <P> 182 183 <!-- ============ ENUM CONSTANT DETAIL =========== --> 184 185 <A NAME="enum_constant_detail"><!-- --></A> 186 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 187 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 188 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 189 <B>Enum Constant Detail</B></FONT></TH> 190 </TR> 191 </TABLE> 192 193 <A NAME="NOT"><!-- --></A><H3> 194 NOT</H3> 195 <PRE> 196 public static final <A HREF="../../../com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A> <B>NOT</B></PRE> 197 <DL> 198 <DD><code>~a</code>. Supports int and long. 199 <P> 200 <DL> 201 </DL> 202 </DL> 203 <HR> 204 205 <A NAME="NEGATE"><!-- --></A><H3> 206 NEGATE</H3> 207 <PRE> 208 public static final <A HREF="../../../com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A> <B>NEGATE</B></PRE> 209 <DL> 210 <DD><code>-a</code>. Supports int, long, float and double. 211 <P> 212 <DL> 213 </DL> 214 </DL> 215 216 <!-- ============ METHOD DETAIL ========== --> 217 218 <A NAME="method_detail"><!-- --></A> 219 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 220 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 221 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 222 <B>Method Detail</B></FONT></TH> 223 </TR> 224 </TABLE> 225 226 <A NAME="values()"><!-- --></A><H3> 227 values</H3> 228 <PRE> 229 public static <A HREF="../../../com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A>[] <B>values</B>()</PRE> 230 <DL> 231 <DD>Returns an array containing the constants of this enum type, in 232 the order they are declared. This method may be used to iterate 233 over the constants as follows: 234 <pre> 235 for (UnaryOp c : UnaryOp.values()) 236 System.out.println(c); 237 </pre> 238 <P> 239 <DD><DL> 240 241 <DT><B>Returns:</B><DD>an array containing the constants of this enum type, in 242 the order they are declared</DL> 243 </DD> 244 </DL> 245 <HR> 246 247 <A NAME="valueOf(java.lang.String)"><!-- --></A><H3> 248 valueOf</H3> 249 <PRE> 250 public static <A HREF="../../../com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A> <B>valueOf</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> 251 <DL> 252 <DD>Returns the enum constant of this type with the specified name. 253 The string must match <I>exactly</I> an identifier used to declare an 254 enum constant in this type. (Extraneous whitespace characters are 255 not permitted.) 256 <P> 257 <DD><DL> 258 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned. 259 <DT><B>Returns:</B><DD>the enum constant with the specified name 260 <DT><B>Throws:</B> 261 <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant 262 with the specified name 263 <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL> 264 </DD> 265 </DL> 266 <!-- ========= END OF CLASS DATA ========= --> 267 <HR> 268 269 270 <!-- ======= START OF BOTTOM NAVBAR ====== --> 271 <A NAME="navbar_bottom"><!-- --></A> 272 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 273 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 274 <TR> 275 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 276 <A NAME="navbar_bottom_firstrow"><!-- --></A> 277 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 278 <TR ALIGN="center" VALIGN="top"> 279 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 280 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 281 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 282 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 283 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 284 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 285 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 286 </TR> 287 </TABLE> 288 </TD> 289 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 290 </EM> 291 </TD> 292 </TR> 293 294 <TR> 295 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 296 <A HREF="../../../com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker"><B>PREV CLASS</B></A> 297 NEXT CLASS</FONT></TD> 298 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 299 <A HREF="../../../index.html?com/google/dexmaker/UnaryOp.html" target="_top"><B>FRAMES</B></A> 300 <A HREF="UnaryOp.html" target="_top"><B>NO FRAMES</B></A> 301 <SCRIPT type="text/javascript"> 302 <!-- 303 if(window==top) { 304 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 305 } 306 //--> 307 </SCRIPT> 308 <NOSCRIPT> 309 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 310 </NOSCRIPT> 311 312 313 </FONT></TD> 314 </TR> 315 <TR> 316 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 317 SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> 318 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 319 DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> 320 </TR> 321 </TABLE> 322 <A NAME="skip-navbar_bottom"></A> 323 <!-- ======== END OF BOTTOM NAVBAR ======= --> 324 325 <HR> 326 327 </BODY> 328 </HTML> 329