|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.java.recycle.LimitedContainer
This class wraps around a container to limit its capacity.
Field Summary | |
private int |
capacity
|
private RecycleBin |
container
|
Constructor Summary | |
LimitedContainer(RecycleBin container,
int capacity)
|
Method Summary | |
Recyclable |
getRecyclable()
|
int |
getSize()
|
void |
recycle(Recyclable object)
|
Methods inherited from class java.lang.Object |
|
Field Detail |
private RecycleBin container
private int capacity
Constructor Detail |
public LimitedContainer(RecycleBin container, int capacity)
Method Detail |
public Recyclable getRecyclable()
public void recycle(Recyclable object)
public int getSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |