edu.stanford.math.plex4.streams.utility
M
- the underlying type of the basis elementspublic class FilteredComparator<M> extends java.lang.Object implements java.util.Comparator<M>
Constructor and Description |
---|
FilteredComparator(AbstractFilteredStream<M> stream,
java.util.Comparator<M> basisComparator)
This constructor initializes the class with a filtered chain complex, and a comparator
on the basis elements.
|
public FilteredComparator(AbstractFilteredStream<M> stream, java.util.Comparator<M> basisComparator)
stream
- the filtered chain complexbasisComparator
- a comparator on the basis elements