Lines Matching defs:Collection
45 * <p>All general-purpose {@code Collection} implementation classes (which
46 * typically implement {@code Collection} indirectly through one of its
49 * constructor with a single argument of type {@code Collection}, which
54 * constructors) but all of the general-purpose {@code Collection}
63 * the {@link #addAll(Collection)} method on an unmodifiable collection may,
96 * <i>not</i> be construed to imply that invoking {@code Collection.contains}
120 * synchronization protocol. If a {@code Collection} implementation has a
144 public interface Collection<E> extends Iterable<E> {
266 * Collection classes should clearly specify in their documentation any
334 boolean containsAll(Collection<?> c);
360 boolean addAll(Collection<? extends E> c);
385 boolean removeAll(Collection<?> c);
444 boolean retainAll(Collection<?> c);
461 * While the {@code Collection} interface adds no stipulations to the
463 * implement the {@code Collection} interface "directly" (in other words,
464 * create a class that is a {@code Collection} but is not a {@code Set}
495 * {@code Collection} interface adds no stipulations to the general