| java.lang.Object prefuse.data.util.SortedTupleIterator
SortedTupleIterator | public class SortedTupleIterator implements Iterator(Code) | | Iterator that provides a sorted iteration over a set of tuples.
author: jeffrey heer |
SortedTupleIterator | public SortedTupleIterator(Iterator iter, Comparator c)(Code) | | Create a new SortedTupleIterator that sorts tuples in the given
iterator using the given comparator.
Parameters: iter - the source iterator of tuples Parameters: c - the comparator to use for sorting |
SortedTupleIterator | public SortedTupleIterator(Iterator iter, int size, Comparator c)(Code) | | Create a new SortedTupleIterator that sorts tuples in the given
iterator using the given comparator.
Parameters: iter - the source iterator of tuples Parameters: size - the expected number of tuples in the iterator Parameters: c - the comparator to use for sorting |
init | public void init(Iterator iter, Comparator c)(Code) | | Initialize this iterator for the given source iterator and
comparator.
Parameters: iter - the source iterator of tuples Parameters: c - the comparator to use for sorting |
|
|