Exemple #1
0
        public SingleTypeStack <Type> CopySingleTypeStack()
        {
            var result = new SingleTypeStack <Type>();

            foreach (var e in singleTypeStack)
            {
                result.Push(e);
            }
            return(result);
        }
Exemple #2
0
 public Clone(Clone clone)
 {
     LearnedProgramms    = clone.LearnedProgramms.CopySingleTypeStack();
     RolledBackProgramms = clone.RolledBackProgramms.CopySingleTypeStack();
 }