public Parkable Unpark() { Parkable p = PopFauxStack(); p.Unpark(); return(p); }
public Parkable Unpark() { Parkable p = Pop(); p.Unpark(); return(p); }
Parkable PopFauxStack() { var lastIndex = fauxStack.Count - 1; Parkable p = fauxStack[lastIndex]; fauxStack.RemoveAt(lastIndex); return(p); }
void PushFauxStack(Parkable p) { fauxStack.Add(p); }
public void Park(Parkable p) { PushFauxStack(p); p.Park(); }