Use this tag for questions related to the use of the Stream API.
Is it possible to create stream from com.fasterxml.jackson.databind.node.ArrayNode? I tried: ArrayNode files = (ArrayNode) json.get("…
jackson java-8 java-stream fasterxmlI want to take an input and apply parallel stream on that, then I want output as list. Input could …
java java-8 java-stream java.util.concurrentI am trying to sort an array of Strings by reverse order (ignoring case), without modifying it, and just printing …
java comparator java-8 java-stream method-referenceHow do you group first and then apply filtering using Java streams? Example: Consider this Employee class: I want to …
java java-8 java-stream java-9 collectorsIn Java 8, the Stream class does not have any method to wrap a an Iterable. Instead, I am obtaining the …
java java-8 java-stream iterable spliteratorI have a list of pojos that I want to perform some grouping on. Something like: public class Pojo { private …
java java-8 java-stream collectorsGiven a Map<String, Object>, where the values are either a String or another Map<String, Object&…
java java-8 java-stream flattenI have managed to write a solution using Java 8 Streams API that first groups a list of object Route by …
java java-8 grouping java-streamI'm trying to generate Order instances using the Stream API. I have a factory function that creates the order, and …
java java-8 java-stream data-generationI want to count the different elements of a stream and am wondering why Stream<String> stream = Stream.…
java count java-8 java-stream collectors