/**     										WEIGHT.JAVA
 * A weight in traditional U.S. units (i.e., pounds and ounces)
 *
 * This version extends the abstract TwoPartMeasure class that
 * implements most behaviors
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 2.0  
 */
 public class Weights extends TwoPartMeasure
 {
    /**
     * Default Constructor
     */
     public Weights()
     {
			super(0, 0, true);
     }

    /**
     * Explicit Value Constructor
     *
     * @param pounds  The number of pounds (must be positive)
     * @param ounces  The number of ounces (must be positive)
     */
     public Weights(int pounds, int ounces)
     {
			super(pounds, ounces, true);
     }

    /**
     * Explicit Value Constructor
     *
     * @param pounds   The number of pounds (must be positive)
     * @param ounces   The number of ounces (must be positive)
     * @param positive true for a postive weight, false for negative
     */
     public Weights(int pounds, int ounces, boolean positive)
     {
			super(pounds, ounces, positive);
     }

    /**
     * Initialize the "constants" used by a TwoPartMeasure
     */
     protected void initializeUnits()
     {
			smallsPerLarge = 16;

			largeUnitsSingular = "pound";
			largeUnitsPlural   = "pounds";

			smallUnitsSingular = "ounce";
			smallUnitsPlural   = "ounces";
     }

} // end Weight
