public static void main(String[] args) { Stream.iterate(1, i -> i + 1) .flatMap(i -> Stream.of(i, i, i)) ….
Category: Articles
Parallel programming | Coursera
Parallel programming from École Polytechnique Fédérale de Lausanne. With every smartphone and computer now boasting multiple processors, the use of functional ideas to facilitate parallel programming is becoming increasingly widespread. In this …
Quarking Drools: How we turned a 13-year-old Java project into a first-class serverless component
“The question of whether a computer can think is no more interesting than the question of whether a submarine can swim.” – Edsger W. …
Java Stream reuse – traverse stream multiple times? – HowToDoInJava
Is it possible to reuse streams in Java 8? Learn the alternative of Java stream reuse.
5 Free DevOps Courses to learn Jenkins, Docker, and Kubernetes Online
Hello guys, you might have heard about DevOps and all the attention it is getting now. The DevOps is a new phenomenon and there is a mad ra…
A beginner’s guide to Java programming nightmares – JAXenter
Georgi Minkov explores some of the more common Java mistakes and their solutions with a tour of the horrors of his own early code.
How (not) to use Reactive Streams in Java 9+
The reactive components are really not trivial to implement correctly. Here is why.
Pi Day – Celebrate Mathematics on March 14th
One Million Digits of Pi – Home Pi Day is celebrated on March 14th (3/14) around the world. Pi (Greek letter “π”) is the symbol us….
Next-level Kubernetes native Java framework – Quarkus brings Java on a subatomic level! – JAXenter
In response to the call for Java evolution, Red Hat announces Quarkus. Meet the Kubernetes native Java framework that brings Java on a subatomic level!
Java 8 Optional Example – isPresent(), OrElse() and get()
The Optional class in Java is one of many goodies we have got from the Java 8 release. If you use correctly, Optional can result in clean c…
Switch to Jakarta EE API dependencies where possible · spring-projects/spring-boot@d6a869f
Closes gh-16113Closes gh-16112Closes gh-16111Closes gh-15916Closes gh-15689
Java 10 Immutable/Unmodifiable Stream API Collectors
Recently, while developing examples for the groupingBy() guide, I discovered handy JDK 10 additions to the Stream API – Collectors allowing collecting Stream pipelines into…
Here’s how to get by without Concurrent Mark Sweep – Coffee Talk: Java, News, Stories and Opinions
If your standby garbage collector option, Concurrent Mark Sweep, won’t work on future Java releases, here are some option to consider as an alternative.
New Features in Java 12
The final release of Java 12 is coming on March 19th, 2019, however there is an early access of Java 12 available now to download. Let’s…
Java Stream allMatch() API – HowToDoInJava
Java Stream allMatch (Predicate predicate) is short-circuiting terminal operation used to check if all the elements of the stream match the predicate.