Top Fields Constructors Methods
com.jogamp.newt.event

public Class NEWTEventFiFo

extends Object
Class Inheritance
Imports
java.util.LinkedList

Field Summary

Modifier and TypeField and Description
private final LinkedList<E>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized void
clear()

Clear all NEWTEvents from queue

public synchronized NEWTEvent
get()

Remove NEWTEvent from head

public synchronized void
put(final NEWTEvent event)

Add NEWTEvent to tail

public synchronized int
size()

Get NEWTEvents in queue

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

eventsback to summary
private final LinkedList<E> events

Constructor Detail

NEWTEventFiFoback to summary
public NEWTEventFiFo()

Method Detail

clearback to summary
public synchronized void clear()

Clear all NEWTEvents from queue

getback to summary
public synchronized NEWTEvent get()

Remove NEWTEvent from head

putback to summary
public synchronized void put(final NEWTEvent event)

Add NEWTEvent to tail

sizeback to summary
public synchronized int size()

Get NEWTEvents in queue