Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • \$\begingroup\$ The javadoc comments on the Wikipedia page show leading ` * ` on the second to penultimate lines. Could you either change the example output to match it, or clarify that no leading ` * ` should be printed? \$\endgroup\$ Commented Jul 26, 2011 at 2:01
  • 1
    \$\begingroup\$ @Joey - the * you mention are optional in Javadoc comments - they are not needed for this question. \$\endgroup\$ Commented Jul 26, 2011 at 2:11
  • \$\begingroup\$ What's about arrays and generic types as param/return type? They introduce new opportunity for blanks. Do we assume all delimiters being blanks, or may they be tabs? After a comma - is there always a blank (or a tab)? \$\endgroup\$ Commented Jul 26, 2011 at 2:30
  • \$\begingroup\$ You may assume that all types will be space-free (but as you point out, they may have []<> characters in them). You may also assume that all blank spaces are composed of space characters only (i.e., no tabs). There may or may not be spaces surrounding (both before and after) a comma. \$\endgroup\$ Commented Jul 26, 2011 at 2:52
  • \$\begingroup\$ the @return tag for that input shouldn't be @return Integer $? \$\endgroup\$ Commented Jul 26, 2011 at 3:09