public T peek() { if (isEmpty()) throw new NoSuchElementException(); if (oldStack.isEmpty()) moveNewToOld(); return oldStack.peek(); }