pop method

E pop ()
override

Pops an item off the stack @return

Implementation

E pop() {
  if (_index >= _size) {
    extendStack(_size * 2);
  }
  return _stack[_index++];
}