|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface for a bag of objects.
| Method Summary | |
java.util.Iterator |
iterator()
Returns an iterator over the object types. |
double |
num()
Returns the number of object occurrences in the bag. |
double |
num(java.lang.Object o)
Returns the number of object type o occurrences in the bag. |
int |
numTypes()
Returns the number of object types with non-zero occurrences. |
| Method Detail |
public int numTypes()
public java.util.Iterator iterator()
public double num(java.lang.Object o)
o - the object.
public double num()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||