public class EventQueue extends Object
| Constructor and Description | 
|---|
EventQueue()  | 
EventQueue(int size)  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
dequeue()  | 
Object | 
dequeue(long timeout)  | 
void | 
enqueue(Object o)  | 
int | 
size()  | 
public void enqueue(Object o)
public Object dequeue() throws InterruptedException
InterruptedExceptionpublic Object dequeue(long timeout) throws InterruptedException
InterruptedExceptionpublic int size()
Copyright © 2025. All rights reserved.