|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface standardize the behaviour of a RecycleBin
object, used to contain a pool of Recyclable objects.
It also handles the process of storing and managing the recyclable
objects it contains.
| Method Summary | |
java.util.Iterator |
getAllRecyclables()
Returns all recyclable objects given the id |
IRecyclable |
getRecyclable()
This method is called to obtain a recyclable object from this recycle bin. |
int |
getSize()
This method returns the actual number of recyclable objects contained in this recycle bin. |
void |
recycle(IRecyclable object)
This method is called to recycle a recyclable object into this container. |
| Method Detail |
public IRecyclable getRecyclable()
RecycleBinIsEmpty - when recycle bin is empty.public java.util.Iterator getAllRecyclables()
public void recycle(IRecyclable object)
clean() method is guaranteed to be called by
the RecycleBin implementation before the object is
stored.ObjectWasDestroyed - when object is destroied.public int getSize()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||