【问题标题】:how to create function description / definition in java [duplicate]如何在java中创建函数描述/定义[重复]
【发布时间】:2015-02-22 15:34:18
【问题描述】:

这里有没有人可以给我关于如何创建函数定义的想法或信息,就像我们在编写函数签名时得到的一样,而不是我们按ctrl + space,在其他世界,像这样:

File file = new File    ( and when we pressed ctrl+space we got as showing in the picture bellow)

我google了很多,但我没有找到任何解决方案,如果有人可以帮助我,谢谢。

【问题讨论】:

标签: java


【解决方案1】:

阅读Javadoc

查看File 类源以获取示例:

/**
 * Creates a new <code>File</code> instance by converting the given
 * pathname string into an abstract pathname.  If the given string is
 * the empty string, then the result is the empty abstract pathname.
 *
 * @param   pathname  A pathname string
 * @throws  NullPointerException
 *          If the <code>pathname</code> argument is <code>null</code>
 */

【讨论】:

  • 非常感谢,它帮助了我。
【解决方案2】:

这是一本关于javadocs的好手册

【讨论】:

    猜你喜欢
    • 2015-08-06
    • 2013-05-26
    • 2015-01-09
    • 1970-01-01
    • 1970-01-01
    • 2010-10-02
    • 2012-07-27
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多