return queue.removeFirst ();
return wgqueue_obj.dequeue();
    private Object dequeue ()    {        if (queue.size () < 50 && declaredFull)            {                source.removeFullChannel (this);                declaredFull = false;            }        totalItemsPopped++;        sink.registerPop();        return queue.removeFirst ();    }