/** @return the value stored */
 public final int value() {
   return data.getAmount();
 }
 /** @param amount the value to store */
 protected void setValue(int amount) {
   data.setAmount(amount);
 }