|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SizeAware
Interface for objects that understand size() message. It extends the
EmptyAware interface.
| Method Summary | |
|---|---|
boolean |
isEmpty()
Answers if this SizeAware is empty. |
int |
size()
Answers the size of this size aware. |
| Method Detail |
|---|
int size()
boolean isEmpty()
SizeAware is empty. It should be
true that
aSizeAware.isEmpty() == (aSizeAware.size() == 0)
isEmpty in interface EmptyAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||