QueueNodeImpl
This class is implementation of Queue using linked list
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
add(a: T) This function should add an item at rear |
|
| public |
The method to check if queue is empty or not |
|
| public |
poll(): * This function should remove front item from queue and return the removed item |
|
| public |
The method to return size of the queue |
|
| public |
values(): * This function return the values of the queue |
|
