Tag: Stream
Posts of Tag: Stream
  1. Java: Convert Array to Stream

    Java: Convert Array to Stream Introduction In this tutorial, we'll be converting a Java Array into a Java Stream for primitive types, as well as objects. This can be done either via Arrays.stream(), as well as ...Learn More
    JavaArrayStreamProgramming Languages
  2. Java: Convert Stream to Array

    Java: Convert Stream to Array Introduction In this tutorial, we'll be converting a Java Stream into a Java Array for primitive types, as well as objects. Stream.toArray() The toArray() method is a built-in meth...Learn More
    JavaArrayStreamProgramming Languages
  3. Guide to Java Streams: forEach() with Examples

    Guide to Java Streams: forEach() with Examples Introduction The forEach() method is part of the Stream interface and is used to execute a specified operation, defined by a Consumer. The Consumer interface repre...Learn More
    JavaStreamProgramming Languages
  4. Introduction to Node.js Streams

    Introduction to Node.js Streams Introduction Streams are a somewhat advanced concept to understand. So in this article, we will go along with some examples for a better understanding and introduce you to a few ...Learn More
    JavaScriptNodejsstreamsStreamProgramming LanguagesFramework
  5. Spring Cloud Stream with RabbitMQ: Message-Driven Microservices

    Spring Cloud Stream with RabbitMQ: Message-Driven Microservices Overview In this article, we'll introduce you to Spring Cloud Stream, which is a framework for building message-driven microservice applications t...Learn More
    JavaSpringamqpcloudStreammicroservicesProgramming Languages
  6. Introduction to Java 8 Streams

    Introduction to Java 8 Streams Introduction The main subject of this article is advanced data processing topics using a new functionality added to Java 8 – The Stream API and the Collector API. To get the most ...Learn More
    JavastreamsStreamProgramming Languages
  7. Java: Finding Duplicate Elements in a Stream

    Java: Finding Duplicate Elements in a Stream Introduction Introduced in Java 8, the Stream API is commonly used for filtering, mapping and iterating over elements. When working with streams, one of the common t...Learn More
    JavastreamsStreamProgramming Languages
  8. Java 8 Streams: Definitive Guide to the filter() Method

    Introduction The Java Streams API simplifies working with a collection of elements. Because streams turn these elements into a pipeline, you could test them using a set of conditions (known as predicates), befo...Learn More
    JavastreamsStreamProgramming Languages
  9. Java 8 Streams: Definitive Guide to reduce()

    Introduction The reduce() method is Java 8's answer to the need for a fold implementation in the Stream API. Folding is a very useful and common functional programming feature. It operates on a collection of e...Learn More
    JavastreamsStreamProgramming Languages
  10. Java 8 Streams: Definitive Guide to partitioningBy()

    Introduction A stream represents a sequence of elements and supports different kinds of operations that lead to the desired result. The source of a stream is usually a Collection or an Array, from which data is...Learn More
    JavastreamsStreamProgramming Languages
  11. Java 8 Streams: Definitive Guide to flatMap()

    Introduction Mapping elements from one collection to another, applying a transformative function between them is a fairly common and very powerful operation. Java's functional API supports both map() and flatMa...Learn More
    JavastreamsStreamProgramming Languages
  12. Java 8 Streams - Collect and Reverse Stream into List

    Introduction A stream represents a sequence of elements and supports different kinds of operations that lead to the desired result. The source of a stream is usually a Collection or an Array, from which data is...Learn More
    JavastreamsStreamlistProgramming Languages