Package org.apache.jena.atlas.iterator
Class IteratorCons<T>
java.lang.Object
org.apache.jena.atlas.iterator.IteratorCons<T>
- All Implemented Interfaces:
Iterator<T>,IteratorCloseable<T>,Closeable
IteratorCons : the concatenation of two iterators. See also
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.