News

Learn how to fine-tune and parallelize the behavior of Java iterators, using Java 8's forEach() method and Streams API. Then see some performance benchmarks that might surprise you ...
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 ...
Why should you use Collections class methods rather than similarly named fields to obtain empty collections? Type safety makes the crucial difference.
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.
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 ...
Java collection classes allow a developer to keep track of contained items in one of two ways, either by an indexed count or a key. This creates an obvious limitation where multiple values can’t be ...
The Java Iterator is an all-purpose interface that simplifies looping through a collection of objects. Java's ListIterator provides all the functionality of the Iterator interface, with four ...