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
InterruptedException
public Object dequeue(long timeout) throws InterruptedException
InterruptedException
public int size()
Copyright © 2023. All rights reserved.