Ordered lists of element (unique or not)
Conform to Java's interface named List
Can be accessed by index
implemetentedImplemented using
- LinkedList
- ArrayList
Lists of unique elements:
Conform to Java's interface named Set
Can not be accessed by index
implemetentedImplemented using
- HashSet (unordered)
- LinkedHashSet (ordered)
- TreeSet (sorted by natural order or by provided comparator)
Both interfaces Set and List conform to Java's interface named Collection