src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets.properties
changeset 51872 a6bdb6d5f167
parent 51861 f7d40158eb2f
child 52687 526f5cf13972
equal deleted inserted replaced
51871:8f66a57054b7 51872:a6bdb6d5f167
   232   in {0} are in the unnamed module.
   232   in {0} are in the unnamed module.
   233 
   233 
   234 #Documentation for Enums
   234 #Documentation for Enums
   235 doclet.enum_values_doc.fullbody=\
   235 doclet.enum_values_doc.fullbody=\
   236  Returns an array containing the constants of this enum type, in\n\
   236  Returns an array containing the constants of this enum type, in\n\
   237  the order they are declared. This method may be used to iterate\n\
   237  the order they are declared.
   238  over the constants as follows:\n\
       
   239  <pre>\n\
       
   240  for ({0} c : {0}.values())\n\
       
   241  &nbsp;   System.out.println(c);\n\
       
   242  </pre>
       
   243 
   238 
   244 doclet.enum_values_doc.return=\
   239 doclet.enum_values_doc.return=\
   245 an array containing the constants of this enum type, in the order they are declared
   240 an array containing the constants of this enum type, in the order they are declared
   246 
   241 
   247 doclet.enum_valueof_doc.fullbody=\
   242 doclet.enum_valueof_doc.fullbody=\