Example #1
0
        public new void Insert(int index, T item)
        {
            base.Insert(index, item);

            ITreeSet      set  = item as ITreeSet;
            ArrayTree <X> setX = set.GetTree <X>();
            ArrayTree <Y> setY = set.GetTree <Y>();

            base.InsertSource(index, setX);
            base.InsertSource(index, setY);
        }
Example #2
0
        public new void Remove(T item)
        {
            base.Remove(item);

            ITreeSet      set  = item as ITreeSet;
            ArrayTree <X> setX = set.GetTree <X>();
            ArrayTree <Y> setY = set.GetTree <Y>();

            base.RemoveSource(setX);
            base.RemoveSource(setY);
        }
Example #3
0
        public new void Add(T item)
        {
            base.Add(item);

            ITreeSet      set  = item as ITreeSet;
            ArrayTree <X> setX = set.GetTree <X>();
            ArrayTree <Y> setY = set.GetTree <Y>();

            base.AddSource(setX);
            base.AddSource(setY);
        }