Certain principles hold for the use of iterators: In general, you should be able to have multiple traversals in progress at the same time; that is, an iterator should allow for the concept of nested ...
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. In this first article in a two-part series, I ...
One of the nasty little traps a Java developer can run into occurs when Collection.contains(Object) is not used with appropriate understanding. I demonstrate this potential trap in this post. This is ...
I'm working with a code base that currently uses both collections4 and guava (and some LambdaJ), and I'm thinking of making a strong push towards eliminating one or the other. A bunch of stuff I've ...
Several educational and developer platforms have published updated Java project collections, many with source code, to help learners practice and apply programming concepts. These collections include ...