/** * Returns and removes the last element from the queue. * @return last element in the queue */ public T popTail() { T r = tail(); removeTail(); return r; }
/** * Returns and removes the last element from the queue. * @return last element in the queue */ public T popTail() { T r = tail(); removeTail(); return r; }