Returns true if the given thread is currently queued.
<p>This implementation traverses the queue to determine presence of the given thread.
@param thread the thread @return {@code true} if the given thread is on the queue @throws NullPointerException if the thread is null
See Implementation
Returns true if the given thread is currently queued.
<p>This implementation traverses the queue to determine presence of the given thread.
@param thread the thread @return {@code true} if the given thread is on the queue @throws NullPointerException if the thread is null