|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be implemented by those classes willing to control the level of recycle bins.
Method Summary | |
void |
down()
This method is called by a ControlledContainer when some object is removed from the container. |
boolean |
isThereRoomFor(Recyclable object)
This method is called to obtain info about the container level status and should return true if the controller grants access for the new object to be stored in the container. |
void |
up()
This method is called by a ControlledContainer when some object gets stored in the container. |
Method Detail |
public void up()
public void down()
public boolean isThereRoomFor(Recyclable object)
It's up to the implementation to determine how to come up with this information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |