com.browseengine.bobo.util
Class ListMerger.MergedIterator<T>
java.lang.Object
com.browseengine.bobo.util.ListMerger.MergedIterator<T>
- All Implemented Interfaces:
- Iterator<T>
- Enclosing class:
- ListMerger
public static class ListMerger.MergedIterator<T>
- extends Object
- implements Iterator<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListMerger.MergedIterator
public ListMerger.MergedIterator(List<Iterator<T>> iterators,
Comparator<T> comparator)
ListMerger.MergedIterator
public ListMerger.MergedIterator(Iterator<T>[] iterators,
Comparator<T> comparator)
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>
Copyright © 2011. All Rights Reserved.