我正在制作/生成javadocs。我需要有关编码/注释javadocs的帮助。
为什么此类或任何类在源代码中都没有显示验证者名称http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentHashMap.html。 Theres @author Doug Lea或其他
这只是一个例子。它发生在每个班级。
如何使文档显示作者姓名和更多详细信息?
在热点oracle jdk的src.zip中找到的代码:
包java.util.concurrent;
导入java.util.Map;
/**
* A {@link java.util.Map} providing additional atomic
* <tt>putIfAbsent</tt>, <tt>remove</tt>, and <tt>replace</tt> methods.
*
* <p>Memory consistency effects: As with other concurrent
* collections, actions in a thread prior to placing an object into a
* {@code ConcurrentMap} as a key or value
* <a href="package-summary.html#MemoryVisibility"><i>happen-before</i></a>
* actions subsequent to the access or removal of that object from
* the {@code ConcurrentMap} in another thread.
*
* <p>This interface is a member of the
* <a href="{@docRoot}/../technotes/guides/collections/index.html">
* Java Collections Framework</a>.
*
* @since 1.5
* @author Doug Lea <------------this
* @param <K> the type of keys maintained by this map
* @param <V> the type of mapped values
*/
public interface ConcurrentMap<K, V> extends Map<K, V> {
api文档:http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentHashMap.html
Like Hashtable but unlike HashMap, this class does not allow null to be used as a key or value.
This class is a member of the Java Collections Framework.
Since:
1.5
See Also:
Serialized Form
这里没有作者^
最佳答案
查看documentation for javadoc:
-作者
在生成的文档中包含@author文本。