|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--PetStore
PetStore is a Factory that furnishes dogs that bark().
Field Summary | |
(package private) int |
thresholdWeight
|
Constructor Summary | |
(package private) |
PetStore(int thresh)
|
Method Summary | |
(package private) Dog |
getDog(int weight)
This is the factory decision -- which dog to return. |
Methods inherited from class java.lang.Object |
|
Field Detail |
int thresholdWeight
Constructor Detail |
PetStore(int thresh)
Method Detail |
Dog getDog(int weight)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |