Collectors

  • The distinction between three similar-sounding things:
    • Collection (interface for a family of data structures, includes List)
    • Collector (interface for operations that turn streams into collections)
    • collect() (method of Stream)
  • transforming vs. reducing
  • What are two differences between collections and streams?
  • What is the role of a terminal operation in a stream?

What was particularly interesting, confusing, or exciting to you in this reading?