org.openjena.atlas.iterator
Class IteratorConcat<T>

java.lang.Object
  extended by org.openjena.atlas.iterator.IteratorConcat<T>
All Implemented Interfaces:
Iterator<T>

public class IteratorConcat<T>
extends Object
implements Iterator<T>

Iterator of Iterators


Constructor Summary
IteratorConcat()
           
 
Method Summary
 void add(Iterator<T> iter)
           
static
<T> Iterator<T>
concat(Iterator<T> iter1, Iterator<T> iter2)
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorConcat

public IteratorConcat()
Method Detail

concat

public static <T> Iterator<T> concat(Iterator<T> iter1,
                                     Iterator<T> iter2)

add

public void add(Iterator<T> iter)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T>

next

public T next()
Specified by:
next in interface Iterator<T>

remove

public void remove()
Specified by:
remove in interface Iterator<T>


Licenced under the Apache License, Version 2.0