Class PetStore

java.lang.Object
  |
  +--PetStore

class PetStore
extends java.lang.Object

PetStore is a Factory that furnishes dogs that bark().

Version:
1.0 7/1/2
Author:
Bob Futrelle

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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

thresholdWeight

int thresholdWeight
Constructor Detail

PetStore

PetStore(int thresh)
Method Detail

getDog

Dog getDog(int weight)
This is the factory decision -- which dog to return. Based on the weight.