Exemple #1
0
        public override ViewR <CompElem <T>, double> RightView()
        {
            ViewR <CompElem <T>, double> internRView = treeRep.RightView();

            internRView.ftInit = new PriorityQueue <T>(internRView.ftInit);

            return(internRView);
        }
Exemple #2
0
        public override ViewR <SizedElement <T>, uint> RightView()
        {
            ViewR <SizedElement <T>, uint> internRView = treeRep.RightView();

            internRView.ftInit = new Seq <T>(internRView.ftInit);

            return(internRView);
        }
Exemple #3
0
        public override IEnumerable <T> ToSequenceR()
        {
            ViewR <T> rView = RightView();

            yield return(rView.last);

            foreach (T t in rView.ftInit.ToSequenceR())
            {
                yield return(t);
            }
        }