UnaryOp.html revision e3ecebfb7a89fbe549680e47d7e6f306d5ae146c
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 Mon Jan 09 16:02:38 EST 2012 -->
6<TITLE>
7UnaryOp (dexmaker)
8</TITLE>
9
10<META NAME="date" CONTENT="2012-01-09">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="/stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function 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>&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="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="/com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;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>  &nbsp;
61&nbsp;<A HREF="UnaryOp.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<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">
90com.google.dexmaker</FONT>
91<BR>
92Enum UnaryOp</H2>
93<PRE>
94java.lang.Object
95  <IMG SRC="/resources/inherit.gif" ALT="extended by ">java.lang.Enum&lt;<A HREF="/com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A>&gt;
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>java.io.Serializable, java.lang.Comparable&lt;<A HREF="/com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A>&gt;</DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public enum <B>UnaryOp</B><DT>extends java.lang.Enum&lt;<A HREF="/com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A>&gt;</DL>
104</PRE>
105
106<P>
107An 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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>~a</code>.</TD>
133</TR>
134</TABLE>
135&nbsp;
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&nbsp;<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>(java.lang.String&nbsp;name)</CODE>
148
149<BR>
150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the constants of this enum type, in
159the order they are declared.</TD>
160</TR>
161</TABLE>
162&nbsp;<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.Enum</B></TH>
166</TR>
167<TR BGCOLOR="white" CLASS="TableRowColor">
168<TD><CODE>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</CODE></TD>
169</TR>
170</TABLE>
171&nbsp;<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.Object</B></TH>
175</TR>
176<TR BGCOLOR="white" CLASS="TableRowColor">
177<TD><CODE>getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
178</TR>
179</TABLE>
180&nbsp;
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>
194NOT</H3>
195<PRE>
196public 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>
206NEGATE</H3>
207<PRE>
208public 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>
227values</H3>
228<PRE>
229public 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
232the order they are declared.  This method may be used to iterate
233over the constants as follows:
234<pre>
235for (UnaryOp c : UnaryOp.values())
236&nbsp;   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
242the order they are declared</DL>
243</DD>
244</DL>
245<HR>
246
247<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
248valueOf</H3>
249<PRE>
250public static <A HREF="/com/google/dexmaker/UnaryOp.html" title="enum in com.google.dexmaker">UnaryOp</A> <B>valueOf</B>(java.lang.String&nbsp;name)</PRE>
251<DL>
252<DD>Returns the enum constant of this type with the specified name.
253The string must match <I>exactly</I> an identifier used to declare an
254enum constant in this type.  (Extraneous whitespace characters are 
255not 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>java.lang.IllegalArgumentException</CODE> - if this enum type has no constant
262with the specified name
263<DD><CODE>java.lang.NullPointerException</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>&nbsp;</TD>
280  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
281  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
282  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
283  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
284  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
285  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="/com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker"><B>PREV CLASS</B></A>&nbsp;
297&nbsp;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>  &nbsp;
300&nbsp;<A HREF="UnaryOp.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
301&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
318<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
319DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<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