編寫自己的接口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