常用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);