Sets
- Set interface adds no methods to
Collection!
- Conceptually, sets are a subtype of collections
- Sets don't store duplicates of the same element
- Sets are unordered
- Separate interface: an algorithm can require a
Set
previous |
start |
next .... [Slide 20] ....