Example usage for org.apache.commons.collections4 ResettableIterator interface-usage

List of usage examples for org.apache.commons.collections4 ResettableIterator interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.collections4 ResettableIterator interface-usage.

Usage

From source file com.github.helenusdriver.commons.collections.iterators.CombinationIterator.java

/**
 * The <code>CombinationIterator</code> class defines an iterator capable of
 * combining iterating all possible combinations of multiple collections. At
 * each step, it returns a list of elements where each element correspond to the
 * iterated element of the collection specified at the same index
 *

From source file com.github.helenusdriver.commons.collections.iterators.SnapshotIterator.java

/**
 * The <code>SnapshotIterator</code> class provides support for creating a
 * snapshot from another iterator; preserving the order of returned elements.
 * <p>
 * <i>Note:</i> An instance of this class can be properly serialized even if
 * the iterator object passed to its constructor is not serializable as long