Class SortedInputIterator

java.lang.Object
org.apache.lucene.search.suggest.SortedInputIterator
All Implemented Interfaces:
InputIterator, BytesRefIterator

public class SortedInputIterator extends Object implements InputIterator
This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.
WARNING: This API is experimental and might change in incompatible ways in the next release.