<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title>Bing: Java Stream Example</title><link>http://www.bing.com:80/search?q=Java+Stream+Example</link><description>Search results</description><image><url>http://www.bing.com:80/s/a/rsslogo.gif</url><title>Java Stream Example</title><link>http://www.bing.com:80/search?q=Java+Stream+Example</link></image><copyright>Copyright © 2026 Microsoft. All rights reserved. These XML results may not be used, reproduced or transmitted in any manner or for any purpose other than rendering Bing results within an RSS aggregator for your personal, non-commercial use. Any other use of these results requires express written permission from Microsoft Corporation. By accessing this web page or using these results in any manner whatsoever, you agree to be bound by the foregoing restrictions.</copyright><item><title>How to implement a Java stream? - Stack Overflow</title><link>https://stackoverflow.com/questions/30685623/how-to-implement-a-java-stream</link><description>This is just an example to show how streams can be defined using Stream.generate () which gives you more flexibility as it allows you to use arbitrary logic for determining steam's elements.</description><pubDate>Mon, 23 Nov 2026 07:48:00 GMT</pubDate></item><item><title>using java Stream to get a sum, average, and sort</title><link>https://stackoverflow.com/questions/48906552/using-java-stream-to-get-a-sum-average-and-sort</link><description>I am studying java Stream and having hard time solving questions below. The reason why I got stuck is because I have no idea about dealing with Stream&lt;Integer&gt;. I stumbled upon a solution of "count" by doing list.stream ().count (), but other than this, I can't proceed further.</description><pubDate>Tue, 24 Nov 2026 04:19:00 GMT</pubDate></item><item><title>Java 8 Streams FlatMap method example - Stack Overflow</title><link>https://stackoverflow.com/questions/22382453/java-8-streams-flatmap-method-example</link><description>Returns a stream consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.</description><pubDate>Wed, 25 Nov 2026 13:29:00 GMT</pubDate></item><item><title>How can I convert a Java 8 Stream to an Array? - Stack Overflow</title><link>https://stackoverflow.com/questions/23079003/how-can-i-convert-a-java-8-stream-to-an-array</link><description>If you want to get an array of ints, with values from 1 to 10, from a Stream&lt;Integer&gt;, there is IntStream at your disposal. Here we create a Stream with a Stream.of method and convert a Stream&lt;Integer&gt; to an IntStream using a mapToInt.</description><pubDate>Thu, 26 Nov 2026 02:58:00 GMT</pubDate></item><item><title>How to sum a list of integers with java streams? - Stack Overflow</title><link>https://stackoverflow.com/questions/30125296/how-to-sum-a-list-of-integers-with-java-streams</link><description>The streams classes have multiple forms of general reduction operations, called reduce () and collect (), as well as multiple specialized reduction forms such as sum (), max (), or count ().</description><pubDate>Wed, 25 Nov 2026 20:24:00 GMT</pubDate></item><item><title>java 8 - Using a stream to iterate n times instead of using a for loop ...</title><link>https://stackoverflow.com/questions/28080703/using-a-stream-to-iterate-n-times-instead-of-using-a-for-loop-to-create-n-items</link><description>If you know n in advance, I think it's more idiomatic to use one of the stream sources that creates a stream that is known to have exactly n elements. Despite the appearances, using limit (10) doesn't necessarily result in a SIZED stream with exactly 10 elements -- it might have fewer.</description><pubDate>Wed, 25 Nov 2026 07:24:00 GMT</pubDate></item><item><title>Java 8 Stream and operation on arrays - Stack Overflow</title><link>https://stackoverflow.com/questions/24390463/java-8-stream-and-operation-on-arrays</link><description>I have just discovered the new Java 8 stream capabilities. Coming from Python, I was wondering if there was now a neat way to do operations on arrays like summing, multiplying two arrays in a "one ...</description><pubDate>Wed, 25 Nov 2026 20:53:00 GMT</pubDate></item><item><title>Sorting a list with stream.sorted() in Java - Stack Overflow</title><link>https://stackoverflow.com/questions/40517977/sorting-a-list-with-stream-sorted-in-java</link><description>Using Java 8 onward, if you want to do sorting based on some field, you can use some of the static methods inside the Comparator interface. Here is an example of sorting a position (Long field) inside Positon object.</description><pubDate>Thu, 26 Nov 2026 14:04:00 GMT</pubDate></item><item><title>java - Distinct by property - Stack Overflow</title><link>https://stackoverflow.com/questions/23699371/distinct-by-property</link><description>In Java 8, how can I filter a collection using the Stream API by checking the distinctness of a property of each object? For example, I have a list of Person objects and I want to remove people with the same name:</description><pubDate>Thu, 26 Nov 2026 05:28:00 GMT</pubDate></item><item><title>java - How can I create a stream from an array? - Stack Overflow</title><link>https://stackoverflow.com/questions/27888429/how-can-i-create-a-stream-from-an-array</link><description>In first example, Java uses method overloading to find specific method based on input types while as in second you already know the input type and calling specific method.</description><pubDate>Wed, 25 Nov 2026 21:21:00 GMT</pubDate></item></channel></rss>