remove
Removes the next reference object from this queue, blocking until one becomes available or the specified timeout (in milliseconds) expires.
In this mimic, blocking is not supported. The timeout value is ignored, and the method simply returns whatever poll returns.
Return
a reference object if available, otherwise null.
Parameters
timeout
the maximum time to wait in milliseconds (ignored)
Removes the next reference object from this queue, blocking indefinitely until one becomes available.
In this mimic, blocking is not supported; it simply returns poll.
Return
a reference object if available, otherwise null.