pop_head


Description:

public G pop_head ()

Removes the first element of the queue and returns its data.

Parameters:

this

a Queue

Returns:

the data of the first element in the queue, or null if the queue is empty