A generic interface for groups of objects. Used as a base interface for most traversable collections.
Add
Remove
Check existence
As it inherits from Iterable it can be iterated and used in for-each loops.
Additionally it can be operated with a stream:
strings.stream();
Last updated 6 years ago