News

To illustrate how generics are used in the Java Collections Framework, let’s look at some examples. List and ArrayList with generics In the above example, we already briefly explored a simpler ...
Other forms of iteration in Java 8 I’m focusing on iterating over collections, but there are other, more specialized forms of iteration in Java.
In this article, key Eclipse Collections contributors demonstrate techniques for refactoring standard Java code to Eclipse Collections, and demonstrate some of the memory savings you can achieve.
The Java Platform provides the most commonly used data structures in the form of the Collections Framework, and it provides a rich API to operate on them. This article explains the concepts behind ...
In part 1 of GS Collections by Example, I demonstrated several different ways to filter a collection in GS Collections using select and selectWith.
Need a JAX-RS tutorial that can teach you web services development quickly? This RESTful web service example in Java using Eclipse will do just that, showing you how to code, test and deploy a ...
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, ...
I haven't used the apache collections library, but guava is the very first thing I add to any new java project. Even if you completely exclude the collections part altogether, it is still insanely ...