Class GroupToBeSorted


  • public class GroupToBeSorted
    extends ObjectToBeSorted<Item>
    This class is a specialization of ObjectToBeSorted for use when the sequence being sorted is a sequence of groups. The group is represented by its initial item, but the object holds in addition the value of the grouping key, and an iterator over the items in the group.
    • Constructor Detail

      • GroupToBeSorted

        public GroupToBeSorted​(int numberOfSortKeys)