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.-
Method Summary
-
Method Details
-
create
-
hasNext
public boolean hasNext() -
next
-
forEachRemaining
- Specified by:
forEachRemainingin interfaceIterator<T>
-
remove
public void remove() -
close
public void close()
-