Class IntervalIterators


  • public class IntervalIterators
    extends Object
    A class providing static methods and objects that do useful things with interval iterators.
    • Method Detail

      • pour

        public static ObjectSet<Interval> pour​(IntervalIterator intervalIterator)
                                        throws IOException
        Returns a set containing the intervals enumerated by the specified interval iterators: iteration on the set is guarantee to return the intervals in the same order in which they were enumerated.
        Parameters:
        intervalIterator - an interval iterator.
        Returns:
        a set containing the intervals enumerated by intervalIterator.
        Throws:
        IOException