Collections and streams

Categories: Java

An interesting way to process a collection is the usage of streams. A stream provides a sequential access to the elements of the collection. Below a code snipped for a simple selection of elements of an existing collection. In this example the dataList contains just some Strings and we want to get a new list […]