public class IteratorCons<T> extends Object implements Iterator<T>, Iterable<T>
IteratorConcat
.
If there potentially many iterators to be joined, it is better to
create an IteratorConcat explicitly and add each iterator.
IteratorCons is slightly better in the two iterator case.Licenced under the Apache License, Version 2.0