Class SegmentComparator

    • Constructor Detail

      • SegmentComparator

        public SegmentComparator()
    • Method Detail

      • compare

        public int compare​(Segment orig,
                           Segment trans)
        Match on id and type (segment or not) or TextFragment. If no id exists match on TextFragment (including all codes)
        Specified by:
        compare in interface Comparator<Segment>