Interface NaiveSortMaker

  • All Known Implementing Classes:
    DefaultNaiveSortMaker

    public interface NaiveSortMaker
    A NaiveSorter sorts a stream of data in-place. In the worst case, that means it needs to buffer up all RowsAndColumns received before it can return anything. This semantic interface is setup to allow an implementation of RowsAndColumns to know that it is pre-sorted and potentially return sorted data early.

    The default implementation cannot actually do this, however, so it is up to the specific concrete RowsAndColumns classes to provide their own implementations that can do this.