Search code examples
Handling a Stream.filter Predicate that throws an exception...


javaexceptionlambdajava-8java-stream

Read More
Check whether list of custom objects have same value for a property in Java 8...


javaarraylistjava-8java-stream

Read More
Why does Stream.findFirst() throw a NullPointerException if the first element it finds is null?...


javajava-8java-streamoption-type

Read More
Iterate a list inside a list (cartesian product of two lists)...


javajava-8java-streamcartesian-product

Read More
Group by two fields and return elements in groups with multiple matches using the Stream API...


javajava-8java-stream

Read More
How can I convert a Map<Object, Optional<Object>> to Map<Object, Object>?...


javajava-8hashmap

Read More
Should StreamEx parallelism work when using takeWhile?...


javajava-8java-streamstreamex

Read More
Comparator.reversed() does not compile using a lambda expression...


javalambdajava-8comparatormethod-reference

Read More
Distinct by property...


javacollectionsjava-8java-streamdistinct-values

Read More
Java stream operation fusion and stateful intermediate operations...


javajava-8java-streamsortingstateful

Read More
Message 'Call "Optional#isPresent()" before accessing the value'...


javajava-8java-streamoption-type

Read More
Refactor the code in order to not assign to this loop counter from within the loop body - How to use...


for-loopjava-8sonarqubejava-stream

Read More
Difference between Java 8 streams and RxJava observables...


javajava-8java-streamobservablerx-java

Read More
Split list into multiple lists with fixed number of elements in Java 8...


javajava-8java-stream

Read More
Java 1.8 overridden equals() not called by Collection removeAll()...


javajava-8overridingequalsremoveall

Read More
Default methods for equals and hashCode in Java 8...


javajava-8equalshashcodedefault-method

Read More
Why does Optional not provide a peek method?...


javalambdajava-8option-typejava-9

Read More
CompletableFuture | thenApply vs thenCompose...


javajava-8completable-future

Read More
Java 8 for use from IntelliJ on Mac OS X...


javamacosintellij-ideaclojurejava-8

Read More
Unable to deserialize lambda...


javaserializationlambdajava-8

Read More
Join strings with different last delimiter...


javastringjava-8java-stream

Read More
How can I mock java.time.LocalDate.now()...


javajava-8java-timesystemtime

Read More
Why does Iterable<T> not provide stream() and parallelStream() methods?...


javajava-8java-streamiterable

Read More
Should I always use a parallel stream when possible?...


javaparallel-processingjava-8java-stream

Read More
Should Java 8 getters return optional type?...


javajava-8nullableoption-type

Read More
Null check vs Optional isPresent check...


javafunctional-programmingjava-8option-type

Read More
In Java, tell whether a moment is inside or outside of specified business hours...


javadatedatetimejava-8

Read More
How to force java to show full stack trace...


javajava-8logbackslf4j

Read More
Is it possible to run JavaFX applications in Java 8?...


java-8javafx-8

Read More
Is it posibile to split a daterange in Java into weeks?...


javadatejava-8calendardate-range

Read More
BackNext