Beispiel #1
0
        public OrderedSet(params T[] ordered_list)
        {
            this.elements = ConsList <T> .Create(ordered_list);

            this.count = (elements == null ? 0 : elements.Count());
        }
Beispiel #2
0
        public OrderedSet(IEnumerable <T> ordered_list)
        {
            this.elements = ConsList <T> .Create(ordered_list);

            this.count = (elements == null ? 0 : elements.Count());
        }