国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 學(xué)院 > 開(kāi)發(fā)設(shè)計(jì) > 正文

編寫注釋生成javadoc HTML文檔

2019-11-18 14:48:45
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
/**
 * The <code>Bar</code> component doesn't do mUCh of anything. It is just
 * meant to demonstrate javadoc.
 * <p>
 * 
 * @version 2.4
 * @author John Zukowski
 */
public class Bar {

  /**
   * A specific type of foo
   */
  public static final int FOO_TYPE = 0;

  /**
   * Another specific type of foo
   */
  public static final int ANOTHER_FOO_TYPE = 1;

  /**
   * The current foo type
   */
  PRivate int type;

  /**
   * Constructs a Bar
   */
  public Bar() {
    type = FOO_TYPE;
  }

  /**
   * Returns current foo type
   * 
   * @return current foo type
   * @deprecated As of version 2.3, use {@link #getFoo() getFoo()}instead
   */
  public int foo() {
    return getFoo();
  }

  /**
   * Returns current foo type
   * 
   * @return current foo type
   * @since V2.3
   */
  public int getFoo() {
    return getFoo();
  }

  /**
   * Changes current foo type
   * 
   * @param type
   *            new type of foo
   * @throws IllegalArgumentException
   *             When type invalid
   */
  public void setFoo(int newValue) {
    if ((newValue != FOO_TYPE) && (newValue != ANOTHER_FOO_TYPE)) {
      throw new IllegalArgumentException("Bad type");
    }
    type = newValue;
  }

  /**
   * Placeholder method for see tags
   * 
   * @see Bar#FOO_TYPE
   * @see Bar#getFoo()
   * @see #getFoo()
   * @see "My Book"
   * @see <a >jGuru </a>
   */
  public void myVoid() {
  }

}

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 囊谦县| 万全县| 那曲县| 伊川县| 汨罗市| 天柱县| 山丹县| 小金县| 家居| 那曲县| 习水县| 交城县| 社会| 多伦县| 神池县| 太谷县| 佛坪县| 黄梅县| 珠海市| 中牟县| 衡南县| 曲周县| 佛学| 方正县| 怀集县| 车险| 灵寿县| 宜章县| 九龙城区| 文登市| 遂平县| 惠州市| 罗源县| 锦州市| 讷河市| 盐津县| 荆州市| 衡阳市| 清远市| 龙泉市| 信阳市|