public interface IWastebin extends ILocationObject
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(IWaste waste)
Test is the waste is in the waste bin.
|
int |
getCapacity()
Get the capacity of this Wastebin.
|
java.lang.String |
getId()
Get the id (or name) of this object.
|
ILocation |
getLocation()
Get the location of this object.
|
IWaste |
getWaste(int idx)
Get an wastes of this Wastebin.
|
IWaste[] |
getWastes()
Get the wastes of this Wastebin.
|
boolean |
isFull()
Test is the wastebin is full.
|
java.lang.String getId()
getId in interface ILocationObjectILocation getLocation()
getLocation in interface ILocationObjectIWaste[] getWastes()
IWaste getWaste(int idx)
idx - The index.int getCapacity()
boolean isFull()
boolean contains(IWaste waste)