Core collection interfaces: Collection (Set(SortedSet), List, Queue), Map(SortedMap) A Map is not a true Collection. public interface Collection extends Iterable { // Basic operations int size(); boolean isEmpty(); boolean contains(Object element); boolean add(E element); //optional boolean remove(Object element); //optional Iterator iterator(); // Bulk operations boolean containsAll(Collection c); boolean addAll(Collection c); //optional boolean removeAll(Collection c); //optional […]

Read more of this post