push method

void push(
  1. Object value
)

Push values to the stack.

Implementation

void push(Object value) {
  queue.addFirst(value);
}