AbstractQueuedSynchronizer.isQueued

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

class AbstractQueuedSynchronizer
final
bool
isQueued
(
Thread thread
)

Meta