pop method

T pop()

Removing element from Stack

Implementation

T pop() {
    T value = first.value;
    first = first.next;
    _items--;
    return value;
  }