I'd like to propose the following simple additions to the
o.a.c.c.IteratorUtils
class.
The following is a simple convenience method for counting the number of
elements
in an iteration, something that I find myself recreating somewhat
frequently:
public static
int countElements (final Iterat
A few things.
On the one hand, there's nothing Iterator-specific about a reset()
method which supports a Resetable interface. However, there may be many
times where a single reference is appropriate for something that is both
Iterator and Resetable. What about providing both:
public interface
Greetings. In advance of submitting a collection of iterator-related
classes, I thought I'd review what was already in the
org.apache.commons.collections.iterators package to ensure my components
would fit in.
I wanted to share my observations and try and discuss some of the areas
that I had an o