livespace.services
Class EntityQueue
java.lang.Object
dsto.dfc.databeans.AbstractDataObject
dsto.dfc.databeans.SimpleDataObject
dsto.dfc.databeans.FancyDataObject
livespace.services.EntityList
livespace.services.EntityQueue
- All Implemented Interfaces:
- IDataObject, IDataObjectChildListener, Cloneable
public class EntityQueue
- extends EntityList
A first-in-first-out queue of entities. This extends
EntityList
with operations that allow the list to be treated
as a queue.
- Author:
- Steven Johnson Created on 17/05/2006
Methods inherited from class dsto.dfc.databeans.AbstractDataObject |
addFirstPropertyListener, addPropertyListener, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, getBeanValue, getBooleanValue, getBooleanValue, getCharValue, getCharValue, getDoubleValue, getDoubleValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getObjectValue, getPropertyListeners, getShortValue, getStringValue, registerValue, removePropertyListener, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, unregisterValue |
EntityQueue
public EntityQueue()
peek
public Entity peek()
throws IllegalStateException
- Throws:
IllegalStateException
remove
public Entity remove()
throws IllegalStateException
- Throws:
IllegalStateException
add
public void add(Entity e)
- Description copied from class:
EntityList
- Adds the specified entity to the end of the list.
- Overrides:
add
in class EntityList
- Parameters:
e
- the Entity to add to the end of the list.
Copyright © 2008 Commonwealth of Australia