public Weight[] getWeight()
  {
    //Initialize Weight array
    Weight[] totals =
        new Weight[] { new Weight(Units.GRAM, 0),
                      new Weight(Units.KILOGRAM, 0),
                      new Weight(Units.OUNCE, 0), new Weight(Units.POUND, 0) };
    Weight currWeight;
    int len = items.size();
    // add weights to appropriate place in the array
    for (int i = 0; i < len; i++)
      {
        currWeight = items.get(i).getWeight();

        if (currWeight.unit().equals(Units.GRAM))
          {
            totals[0].addWeight(currWeight.amount());
          } // if GRAM
        else if (currWeight.unit().equals(Units.KILOGRAM))
          {
            totals[1].addWeight(currWeight.amount());
          } // else if KILOGRAM
        else if (currWeight.unit().equals(Units.OUNCE))
          {
            totals[2].addWeight(currWeight.amount());
          } // else if OUNCE
        else if (currWeight.unit().equals(Units.POUND))
          {
            totals[3].addWeight(currWeight.amount());
          } // else if POUND
      } // for
    return totals;
  } // getWeight()