public final class EventQueue
extends java.lang.Object
Constructor and Description |
---|
EventQueue(int size)
This is an internal method and should not be called by applications using the API
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
add(Event event)
This is an internal method and should not be called by applications using the API
|
boolean |
getNextEvent(Event event)
Populates the provided event with the details of the event on the head of the queue.
|
(package private) boolean |
isFull()
Check if the queue is full
|
public EventQueue(int size)
final void add(Event event)
final boolean isFull()
public final boolean getNextEvent(Event event)
event
- The event to populate