编写自己的接口api-做自己心中的大神


常用api注解

/**
 *
 * @param <E> 这是一个超级接口的泛型
 *
 * @author  谁写的
 * @author  Neal Gafter
 * @see     Set
 * @see     List
 * @see     Map
 * @see     SortedSet
 * @see     SortedMap
 * @see     HashSet
 * @see     TreeSet
 * @see     ArrayList
 * @see     LinkedList
 * @see     Vector
 * @see     Collections
 * @see     Arrays
 * @see     AbstractCollection
 * @since 1.2
 */

public interface Collection<E> extends Iterable<E> {

另请参阅:

  /**
     * Returns <tt>true</tt> if this collection contains all of the elements
     * in the specified collection.
     *
     * @param  传入参数
     * @return  返回参数
     * @throws 抛出异常
     * @throws  抛出异常2
     * @see    #contains(Object) 参照某个方法
     */
    boolean containsAll(java.util.Collection<?> c);

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM