public interface IWaitqueue extends IWaitAbstraction
| Modifier and Type | Method and Description | 
|---|---|
Object[] | 
getElements()
Get all collected elements. 
 | 
boolean | 
isEmpty()
Test if the waitqueue is empty. 
 | 
void | 
removeElement(Object element)
Remove an element. 
 | 
Object | 
removeNextElement()
Get and remove the next element. 
 | 
int | 
size()
Get the number of events in the waitqueue. 
 | 
addCondition, addExternalCondition, addFactAdded, addFactChanged, addFactRemoved, addGoal, addGoal, addInternalEvent, addMessageEvent, addReply, removeCondition, removeExternalCondition, removeFactAdded, removeFactChanged, removeFactRemoved, removeGoal, removeGoal, removeInternalEvent, removeMessageEvent, removeReplyObject[] getElements()
Object removeNextElement()
void removeElement(Object element)
element - The element to remove.int size()
boolean isEmpty()
Copyright © 2013. All Rights Reserved.