Esempio n. 1
0
 /// <summary>
 /// Haalt de oude stack in arrayform op. Pushed alle items van de oude stack in de nieuwe stack en
 /// stopt de nieuwe stack in de stack variabele.
 /// </summary>
 public void ChangeStack(Interfacestack <double> newStack)
 {
     double[] oldstack = stack.GetALL();
     foreach (double i in oldstack)
     {
         newStack.Push(i);
     }
     stack = newStack;
 }
Esempio n. 2
0
 public void PushTerm(double term)
 {
     terms.Push(term);
 }
Esempio n. 3
0
 /// <summary>
 /// Roept de Push methode van de stack aan.
 /// </summary>
 public void PushStack(double item)
 {
     stack.Push(item);
 }