Java Collections: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
=Overview=
=Overview=


The [[Java_8_Streams_API#Overview|Streams API]] provides an alternative way of processing Collections using internal iterations.
When using a Collection, the programmer manages the iteration over the collection elements, in a process called ''external iteration''. The [[Java_8_Streams_API#Overview|Streams API]] provides an alternative way of processing Collections using ''internal iteration''.

Revision as of 21:57, 22 March 2018

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.