drain_head


Description:

public int drain_head (Collection<G> recipient, int amount = -1)

Drains the specified amount of elements from the head of this queue in the specified recipient collection.