国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 铜川市| 肃宁县| 长沙市| 远安县| 兰溪市| 辽宁省| 大化| 通海县| 田东县| 新竹县| 渭南市| 宁阳县| 通辽市| 留坝县| 新郑市| 祁连县| 湘潭市| 盐源县| 襄垣县| 恩施市| 都安| 青海省| 井陉县| 开封市| 西乡县| 哈巴河县| 扶余县| 长汀县| 吉安县| 嘉祥县| 都匀市| 郁南县| 安陆市| 泗水县| 邯郸市| 凤山县| 泽普县| 北宁市| 来凤县| 壤塘县| 潞城市|