Method multiplicity
/* Return the number of occurrences of item in the multiset. */
public int multiplicity(int item)
if ( item < 0 || item >= maxValue )
throw new RuntimeException(
”item out of range for NatMultiset”
for (int k=0; k < maxValue; k++)