private void BuildSortedSet()
        {
            var comparator = new BuildSortedSetComparer(this);

            orderedGroups = new SortedSet <CollectedSearchGroup <TGroupValue> >(comparator);
            orderedGroups.UnionWith(groupMap.Values);
            Debug.Assert(orderedGroups.Count > 0);

            foreach (FieldComparator fc in comparators)
            {
                fc.Bottom = orderedGroups.Last().ComparatorSlot;
            }
        }
Пример #2
0
        private void BuildSortedSet()
        {
            var comparer = new BuildSortedSetComparer(this);

            m_orderedGroups = new JCG.SortedSet <CollectedSearchGroup <TGroupValue> >(comparer);
            m_orderedGroups.UnionWith(groupMap.Values);
            Debug.Assert(m_orderedGroups.Count > 0);

            foreach (FieldComparer fc in comparers)
            {
                fc.SetBottom(m_orderedGroups.Last().ComparerSlot);
            }
        }