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.5.0_16) on Tue Feb 03 09:28:21 PST 2009 --> 6<TITLE> 7CheckForSigned 8</TITLE> 9 10<META NAME="keywords" CONTENT="javax.annotation.CheckForSigned class"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 parent.document.title="CheckForSigned"; 18} 19</SCRIPT> 20<NOSCRIPT> 21</NOSCRIPT> 22 23</HEAD> 24 25<BODY BGCOLOR="white" onload="windowTitle();"> 26 27 28<!-- ========= START OF TOP NAVBAR ======= --> 29<A NAME="navbar_top"><!-- --></A> 30<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 31<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 32<TR> 33<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 34<A NAME="navbar_top_firstrow"><!-- --></A> 35<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 36 <TR ALIGN="center" VALIGN="top"> 37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 44 </TR> 45</TABLE> 46</TD> 47<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 48</EM> 49</TD> 50</TR> 51 52<TR> 53<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 54 <A HREF="../../javax/annotation/CheckForNull.html" title="annotation in javax.annotation"><B>PREV CLASS</B></A> 55 <A HREF="../../javax/annotation/CheckReturnValue.html" title="annotation in javax.annotation"><B>NEXT CLASS</B></A></FONT></TD> 56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 57 <A HREF="../../index.html?javax/annotation/CheckForSigned.html" target="_top"><B>FRAMES</B></A> 58 <A HREF="CheckForSigned.html" target="_top"><B>NO FRAMES</B></A> 59 <SCRIPT type="text/javascript"> 60 <!-- 61 if(window==top) { 62 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); 63 } 64 //--> 65</SCRIPT> 66<NOSCRIPT> 67 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A> 68</NOSCRIPT> 69 70 71</FONT></TD> 72</TR> 73<TR> 74<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 75 SUMMARY: REQUIRED | OPTIONAL</FONT></TD> 76<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 77DETAIL: ELEMENT</FONT></TD> 78</TR> 79</TABLE> 80<A NAME="skip-navbar_top"></A> 81<!-- ========= END OF TOP NAVBAR ========= --> 82 83<HR> 84<!-- ======== START OF CLASS DATA ======== --> 85<H2> 86<FONT SIZE="-1"> 87javax.annotation</FONT> 88<BR> 89Annotation Type CheckForSigned</H2> 90<HR> 91<DL> 92<DT><PRE><FONT SIZE="-1">@Documented 93<A HREF="../../javax/annotation/meta/TypeQualifierNickname.html" title="annotation in javax.annotation.meta">@TypeQualifierNickname</A> 94<A HREF="../../javax/annotation/Nonnegative.html" title="annotation in javax.annotation">@Nonnegative</A>(<A HREF="../../javax/annotation/Nonnegative.html#when()">when</A>=<A HREF="../../javax/annotation/meta/When.html#MAYBE">MAYBE</A>) 95@Retention(value=RUNTIME) 96</FONT>public @interface <B>CheckForSigned</B></DL> 97</PRE> 98 99<P> 100Used to annotate a value that may be either negative or nonnegative, and 101 indicates that uses of it should check for 102 negative values before using it in a way that requires the value to be 103 nonnegative, and check for it being nonnegative before using it in a way that 104 requires it to be negative. 105<P> 106 107<P> 108 109<P> 110 111<P> 112<!-- ========= END OF CLASS DATA ========= --> 113<HR> 114 115 116<!-- ======= START OF BOTTOM NAVBAR ====== --> 117<A NAME="navbar_bottom"><!-- --></A> 118<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 119<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 120<TR> 121<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 122<A NAME="navbar_bottom_firstrow"><!-- --></A> 123<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 124 <TR ALIGN="center" VALIGN="top"> 125 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 126 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 127 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 128 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 129 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 130 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 131 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 132 </TR> 133</TABLE> 134</TD> 135<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 136</EM> 137</TD> 138</TR> 139 140<TR> 141<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 142 <A HREF="../../javax/annotation/CheckForNull.html" title="annotation in javax.annotation"><B>PREV CLASS</B></A> 143 <A HREF="../../javax/annotation/CheckReturnValue.html" title="annotation in javax.annotation"><B>NEXT CLASS</B></A></FONT></TD> 144<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 145 <A HREF="../../index.html?javax/annotation/CheckForSigned.html" target="_top"><B>FRAMES</B></A> 146 <A HREF="CheckForSigned.html" target="_top"><B>NO FRAMES</B></A> 147 <SCRIPT type="text/javascript"> 148 <!-- 149 if(window==top) { 150 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); 151 } 152 //--> 153</SCRIPT> 154<NOSCRIPT> 155 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A> 156</NOSCRIPT> 157 158 159</FONT></TD> 160</TR> 161<TR> 162<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 163 SUMMARY: REQUIRED | OPTIONAL</FONT></TD> 164<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 165DETAIL: ELEMENT</FONT></TD> 166</TR> 167</TABLE> 168<A NAME="skip-navbar_bottom"></A> 169<!-- ======== END OF BOTTOM NAVBAR ======= --> 170 171<HR> 172 173</BODY> 174</HTML> 175