Package io.atlassian.fugue
Class Iterables.MergeSortedIterable.Iter<A>
- java.lang.Object
-
- io.atlassian.fugue.Iterators.Unmodifiable<A>
-
- io.atlassian.fugue.Iterators.Abstract<A>
-
- io.atlassian.fugue.Iterables.MergeSortedIterable.Iter<A>
-
- All Implemented Interfaces:
java.util.Iterator<A>
- Enclosing class:
- Iterables.MergeSortedIterable<A>
private static final class Iterables.MergeSortedIterable.Iter<A> extends Iterators.Abstract<A>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.TreeSet<Iterators.Peeking<A>>xss
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AcomputeNext()The next element.private java.util.Comparator<? super Iterators.Peeking<A>>peekingIteratorComparator(java.util.Comparator<A> comparator)-
Methods inherited from class io.atlassian.fugue.Iterators.Abstract
endOfData, hasNext, next
-
Methods inherited from class io.atlassian.fugue.Iterators.Unmodifiable
remove
-
-
-
-
Field Detail
-
xss
private final java.util.TreeSet<Iterators.Peeking<A>> xss
-
-
Method Detail
-
computeNext
protected A computeNext()
Description copied from class:Iterators.AbstractThe next element.Note: the implementation must call
Iterators.Abstract.endOfData()when there are no elements left in the iteration. Failure to do so could result in an infinite loop.- Specified by:
computeNextin classIterators.Abstract<A>
-
peekingIteratorComparator
private java.util.Comparator<? super Iterators.Peeking<A>> peekingIteratorComparator(java.util.Comparator<A> comparator)
-
-