Java Collections

From NovaOrdis Knowledge Base
Revision as of 18:33, 30 March 2018 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

When using a Collection, the programmer manages the iteration over the collection elements, in a process called external iteration. The Streams API provides an alternative way of processing Collections using internal iteration. Collections are mostly about storing and accessing data, whereas the Streams API is mostly about describing computations on data.

The Collection Interface