-1
A
回答
1
如果我理解的問題,那麼這是非常標準的用例的Javadoc:
/**
* Contractual description of the method.
*
* @param bar Describe expectations of parameter bar
* @return Describe what can be expected of the return
*/
// Some non-contractual comment for the method as a whole.
public int foo(int bar) {
// Some comment for code section a.
// a
// Some comment for code section b.
// b
// ...
}
的合同說明Javadoc中,這是在評論與包裹塊註釋這就是定義/** */
(特別是在開始時兩個星號; Javadoc的簽名)和設計決定/一般在正常評論(//
,或不太常見的/* */
)。
相關問題
- 1. 問題與評論類型評論
- 2. Android studio評論快捷鍵
- 3. CakePHP爲不同類型的評論製作兒童模型
- 4. ColdFusion的評論/論壇類型軟件
- 5. 針對不同類型的實體的建築評論系統
- 6. 區分不同類型的MIFARE Ultralight
- 7. Spring RequestMapping:區分不同類型的PathVariable
- 8. Django - 區分不同類型的IntegrityError
- 9. IntelliJ IDEA中有哪些不同類型的評論?
- 10. 在不同類別上顯示評論
- 11. 新的FB評論出口到分區
- 12. WordPress的:兩種類型的評論?或多個分類法?
- 13. 評論/ Visual Studio 2013
- 14. 如何在firebase中區分不同類型的用戶android
- 15. 可以Intellij/Android Studio摺疊評論嗎?
- 16. intelliJ,Android Studio - Javadoc評論自動完成
- 17. 如何區分評論和回覆
- 18. 發表評論用相同的模型
- 19. Facebook的評論 - 相同的評論網站無處不在
- 20. Android的分享評論推特
- 21. Android分享對Facebook的評論
- 22. 如何在Android Studio中評論/文檔R.java類
- 23. Eclipse不包裝類評論
- 24. 對不同類型的爭論
- 25. Android Studio不兼容類型
- 26. 評論fb button,評分
- 27. 分貝設計:一般評論,幾種類型的帖子
- 28. 按評分類型分組?
- 29. 在Visual Studio 2008中評論
- 30. Visual Studio 2010 XML評論Visualizer
你能提供這些不同類型的評論的例子嗎?他們會用不同的角色劃定界限嗎? – FishStix