Class DisjunctionMatchesIterator

  • All Implemented Interfaces:
    MatchesIterator

    final class DisjunctionMatchesIterator
    extends java.lang.Object
    implements MatchesIterator
    A MatchesIterator that combines matches from a set of sub-iterators Matches are sorted by their start positions, and then by their end positions, so that prefixes sort first. Matches may overlap, or be duplicated if they appear in more than one of the sub-iterators.