News

Get a deep dive into using method references in your Java programs, including stream operations, event listeners, and constructors and factories.
Processing streams and insight into classes Java 24 finalizes two important features, with Stream Gatherers and the Class-File API. Both have had two previews each in Java 22 and Java 23.
The java.util.stream.Gatherers interface comes with a handful of built-in functions that enable you to build custom intermediate operations. Let’s take a look at what each one does.
The latest version of Java, Java 18, is now available, with nine new approved enhancements. A Simple Web Server is now available in Java 18, and it can be used for prototyping and testing purposes ...
Java is influenced by C and C++, so it has many similarities with those languages (and C#). One of the big advantages of Java is that it is “platform independent.” This means that code you ...
A great deal of Java programming -- from conditional statements to iterative loops -- deals with the evaluation of true or false values. When you work with the JDK's Streams API and Lambda functions, ...
The Java Function interface is quite simple. It takes a single Java object as an argument, and returns a single Java object when the method concludes. Any method you can conjure up takes an object and ...