|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jwarp.util.recycle.ControlledContainer
This class wraps around a RecycleBin to control it with a given controller.
| Constructor Summary | |
ControlledContainer(IRecycleBin container,
IController controller)
Creates a new controlled container. |
|
| Method Summary | |
java.util.Iterator |
getAllRecyclables()
Returns all recyclable objects given the id |
IRecyclable |
getRecyclable()
Get the recycle a recycle object |
int |
getSize()
Get the current container size. |
void |
recycle(IRecyclable object)
Recycle an object |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public ControlledContainer(IRecycleBin container,
IController controller)
The - recycle bin containerThe - controller| Method Detail |
public IRecyclable getRecyclable()
getRecyclable in interface IRecycleBinpublic void recycle(IRecyclable object)
recycle in interface IRecycleBinThe - object to be recycledpublic java.util.Iterator getAllRecyclables()
getAllRecyclables in interface IRecycleBinpublic int getSize()
getSize in interface IRecycleBin
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||