April 05
Prde. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Métodos de Collection
npublic interface Collection<E>  extends Iterable<E> {  
n  // Basic Operations
n  int size();                                       
n  boolean isEmpty();
n  boolean contains(Object element);
n  boolean add(E element);                                // Optional
n  boolean remove(Object element);                 // Optional
n  Iterator<E> iterator();
n  // Bulk Operations                                                // Generic interface !
n  boolean containsAll(Collection<?> c);
n  boolean addAll(Collection<? extends E> c); // Optional
n  boolean removeAll(Collection <?> c);           // Optional
n  boolean retainAll(Collection <?> c);              // Optional
n  void clear();                                                      // Optional
n  // Array Operations
n  Object[] toArray();
n  <T> T[] toArray(T[] a);
n}
target =
"_self" - show in the current frame
"_parent" - show in the parent frame
"_top" - show in the topmost frame
"_blank" - show in a new unnamed top-level window
name - show in a new top-level window named name