push method

void push (E argObject)
override

Pushes an item back on the stack @param argObject

Implementation

void push(E argObject) {
  assert(_index > 0);
  _stack[--_index] = argObject;
}