java.util.Collection
The Java Collections Framework, comprises a sophisticated set of interfaces and classes designed for handling collections of objects.
List extends (child of) Collection
public interface List<E> extends Collection<E>
Set extends (child of) Collection
public interface Set<E> extends Collection<E>
Map does NOT extend (not child of) Collection, but still considered to be part of the Java Collection framework.
public interface Map<K, V>
Interface Implementations
| Interface | Implementation |
|---|---|
| List | ArrayList, LinkedList |
| Set | HashSet, TreeSet |
| Map | HashMap, TreeMap |