In particular, this class provide iterator(), add(),
AbstractCollection.remove(Object) and AbstractCollection.contains(Object) methods that just call
the type-specific counterpart.

Warning: Because of a name clash between the list and
collection interfaces the type-specific deletion method of a type-specific
abstract collection is rem(), rather then remove(). A
subclass must thus override rem(), rather than remove(), to
make all inherited methods work properly.

Methods inherited from interface java.lang.Iterable

Method Detail

iterator

Note that this specification strengthens the one given in
Iterable.iterator(), which was already strengthened in the
corresponding type-specific class, but was weakened by the fact that this
interface extends Collection.