Ejemplo n.º 1
0
        public void Add(T attributeValue)
        {
            if (!m_entryNameToDataEntry.ContainsKey(attributeValue))
            {
                var newEntry = new CharacterGroupAttribute <T>(attributeValue);
                Add(newEntry);
                m_entryNameToDataEntry.Add(attributeValue, newEntry);
            }

            m_entryNameToDataEntry[attributeValue].Count++;
        }
Ejemplo n.º 2
0
 public int Compare(CharacterGroupAttribute <T2> x, CharacterGroupAttribute <T2> y)
 {
     return(m_comparer.Compare(x.AttributeValue, y.AttributeValue));
 }