push method
dynamic
push(
- T item
Adds an element to this queue.
Implementation
push(T item) {
data.add(item);
_up(length++);
}
Adds an element to this queue.
push(T item) {
data.add(item);
_up(length++);
}