gpt4 book ai didi

Javadoc 结束标记

转载 作者:塔克拉玛干 更新时间:2023-11-03 03:11:47 26 4
gpt4 key购买 nike

<分区>

阅读 Oracle's Javadoc Documentation , 我注意到作者没有关闭 <p>标签。

/**
* The method used for creating the tree. Any structural
* modifications to the display of the Jtree should be done
* by overriding this method.
* <p>
* This method adds an anonymous TreeSelectionListener to
* the returned JTree. Upon receiving TreeSelectionEvents,
* this listener calls refresh with the selected node as a
* parameter.
*/
public JTree makeTree(AreaInfo ai){
}

文档指出:

If you have more than one paragraph in the doc comment, separate the paragraphs with a <p> paragraph tag, as shown.

在 Eclipse 中,Javadoc 的格式是正确的,但仅仅因为它有效,就意味着它是“正确的”吗?

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com