逛奔的蜗牛

我不聪明,但我会很努力

   ::  :: 新随笔 ::  ::  :: 管理 ::
只有在/** */中的注释才能生成文档.
/**
 * Description of the class, method, attribute.
 *
 * @author
 * @version
 * @param
 * @return void function can not use this tag.
 * @exception
 * @deprecated
 * @see
 * @since JDK6.0
 */

/**
 * Print the passed value to the screen.
 *
 * @param value is to printed
 * @return if value > 0, return true, otherwise return false
 */
public boolean print(int value) {
    System.out.println(value);
    return value > 0 ? true : false;
}

posted on 2008-04-13 04:27 逛奔的蜗牛 阅读(237) 评论(0)  编辑 收藏 引用 所属分类: Java

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理