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> 7Nonnegative.Checker 8</TITLE> 9 10<META NAME="keywords" CONTENT="javax.annotation.Nonnegative.Checker 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="Nonnegative.Checker"; 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/Nonnegative.html" title="annotation in javax.annotation"><B>PREV CLASS</B></A> 55 <A HREF="../../javax/annotation/Nonnull.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/Nonnegative.Checker.html" target="_top"><B>FRAMES</B></A> 58 <A HREF="Nonnegative.Checker.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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 76<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 77DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></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> 89Class Nonnegative.Checker</H2> 90<PRE> 91java.lang.Object 92 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>javax.annotation.Nonnegative.Checker</B> 93</PRE> 94<DL> 95<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../javax/annotation/meta/TypeQualifierValidator.html" title="interface in javax.annotation.meta">TypeQualifierValidator</A><<A HREF="../../javax/annotation/Nonnegative.html" title="annotation in javax.annotation">Nonnegative</A>></DD> 96</DL> 97<DL> 98<DT><B>Enclosing class:</B><DD><A HREF="../../javax/annotation/Nonnegative.html" title="annotation in javax.annotation">Nonnegative</A></DD> 99</DL> 100<HR> 101<DL> 102<DT><PRE>public static class <B>Nonnegative.Checker</B><DT>extends java.lang.Object<DT>implements <A HREF="../../javax/annotation/meta/TypeQualifierValidator.html" title="interface in javax.annotation.meta">TypeQualifierValidator</A><<A HREF="../../javax/annotation/Nonnegative.html" title="annotation in javax.annotation">Nonnegative</A>></DL> 103</PRE> 104 105<P> 106<HR> 107 108<P> 109 110<!-- ======== CONSTRUCTOR SUMMARY ======== --> 111 112<A NAME="constructor_summary"><!-- --></A> 113<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 114<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 115<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 116<B>Constructor Summary</B></FONT></TH> 117</TR> 118<TR BGCOLOR="white" CLASS="TableRowColor"> 119<TD><CODE><B><A HREF="../../javax/annotation/Nonnegative.Checker.html#Nonnegative.Checker()">Nonnegative.Checker</A></B>()</CODE> 120 121<BR> 122 </TD> 123</TR> 124</TABLE> 125 126<!-- ========== METHOD SUMMARY =========== --> 127 128<A NAME="method_summary"><!-- --></A> 129<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 130<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 131<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 132<B>Method Summary</B></FONT></TH> 133</TR> 134<TR BGCOLOR="white" CLASS="TableRowColor"> 135<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 136<CODE> <A HREF="../../javax/annotation/meta/When.html" title="enum in javax.annotation.meta">When</A></CODE></FONT></TD> 137<TD><CODE><B><A HREF="../../javax/annotation/Nonnegative.Checker.html#forConstantValue(javax.annotation.Nonnegative, java.lang.Object)">forConstantValue</A></B>(<A HREF="../../javax/annotation/Nonnegative.html" title="annotation in javax.annotation">Nonnegative</A> annotation, 138 java.lang.Object v)</CODE> 139 140<BR> 141 Given a type qualifier, check to see if a known specific constant value 142 is an instance of the set of values denoted by the qualifier.</TD> 143</TR> 144</TABLE> 145 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 146<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 147<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 148<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 149</TR> 150<TR BGCOLOR="white" CLASS="TableRowColor"> 151<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> 152</TR> 153</TABLE> 154 155<P> 156 157<!-- ========= CONSTRUCTOR DETAIL ======== --> 158 159<A NAME="constructor_detail"><!-- --></A> 160<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 161<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 162<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 163<B>Constructor Detail</B></FONT></TH> 164</TR> 165</TABLE> 166 167<A NAME="Nonnegative.Checker()"><!-- --></A><H3> 168Nonnegative.Checker</H3> 169<PRE> 170public <B>Nonnegative.Checker</B>()</PRE> 171<DL> 172</DL> 173 174<!-- ============ METHOD DETAIL ========== --> 175 176<A NAME="method_detail"><!-- --></A> 177<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 178<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 179<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 180<B>Method Detail</B></FONT></TH> 181</TR> 182</TABLE> 183 184<A NAME="forConstantValue(javax.annotation.Nonnegative, java.lang.Object)"><!-- --></A><H3> 185forConstantValue</H3> 186<PRE> 187public <A HREF="../../javax/annotation/meta/When.html" title="enum in javax.annotation.meta">When</A> <B>forConstantValue</B>(<A HREF="../../javax/annotation/Nonnegative.html" title="annotation in javax.annotation">Nonnegative</A> annotation, 188 java.lang.Object v)</PRE> 189<DL> 190<DD><B>Description copied from interface: <CODE><A HREF="../../javax/annotation/meta/TypeQualifierValidator.html#forConstantValue(A, java.lang.Object)">TypeQualifierValidator</A></CODE></B></DD> 191<DD>Given a type qualifier, check to see if a known specific constant value 192 is an instance of the set of values denoted by the qualifier. 193<P> 194<DD><DL> 195<DT><B>Specified by:</B><DD><CODE><A HREF="../../javax/annotation/meta/TypeQualifierValidator.html#forConstantValue(A, java.lang.Object)">forConstantValue</A></CODE> in interface <CODE><A HREF="../../javax/annotation/meta/TypeQualifierValidator.html" title="interface in javax.annotation.meta">TypeQualifierValidator</A><<A HREF="../../javax/annotation/Nonnegative.html" title="annotation in javax.annotation">Nonnegative</A>></CODE></DL> 196</DD> 197<DD><DL> 198<DT><B>Parameters:</B><DD><CODE>annotation</CODE> - the type qualifier<DD><CODE>v</CODE> - the value to check 199<DT><B>Returns:</B><DD>a value indicating whether or not the value is an member of the 200 values denoted by the type qualifier</DL> 201</DD> 202</DL> 203<!-- ========= END OF CLASS DATA ========= --> 204<HR> 205 206 207<!-- ======= START OF BOTTOM NAVBAR ====== --> 208<A NAME="navbar_bottom"><!-- --></A> 209<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 210<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 211<TR> 212<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 213<A NAME="navbar_bottom_firstrow"><!-- --></A> 214<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 215 <TR ALIGN="center" VALIGN="top"> 216 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 217 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 218 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 219 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 220 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 221 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 222 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 223 </TR> 224</TABLE> 225</TD> 226<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 227</EM> 228</TD> 229</TR> 230 231<TR> 232<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 233 <A HREF="../../javax/annotation/Nonnegative.html" title="annotation in javax.annotation"><B>PREV CLASS</B></A> 234 <A HREF="../../javax/annotation/Nonnull.html" title="annotation in javax.annotation"><B>NEXT CLASS</B></A></FONT></TD> 235<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 236 <A HREF="../../index.html?javax/annotation/Nonnegative.Checker.html" target="_top"><B>FRAMES</B></A> 237 <A HREF="Nonnegative.Checker.html" target="_top"><B>NO FRAMES</B></A> 238 <SCRIPT type="text/javascript"> 239 <!-- 240 if(window==top) { 241 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); 242 } 243 //--> 244</SCRIPT> 245<NOSCRIPT> 246 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A> 247</NOSCRIPT> 248 249 250</FONT></TD> 251</TR> 252<TR> 253<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 254 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 255<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 256DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 257</TR> 258</TABLE> 259<A NAME="skip-navbar_bottom"></A> 260<!-- ======== END OF BOTTOM NAVBAR ======= --> 261 262<HR> 263 264</BODY> 265</HTML> 266