Class SortedMerge<T>

  • Type Parameters:
    T - the type of objects produced by this Iterable
    All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<T>, CloseableIterable<T>

    public class SortedMerge<T>
    extends CloseableGroup
    implements CloseableIterable<T>
    An Iterable that merges the items from other Iterables in order.

    This assumes that the Iterables passed in produce items in sorted order.