Constructor NatMultiset
/* Construct a NatMultiset for up to maxElements elements in the range 0 through maxValue. */
public NatMultiset(
int maxValue,
int maxElements
)
{
maxSize = maxElements;
list = new int[maxSize+1];
currentSize = 0;
}
Previous slide
Next slide
Back to first slide
View graphic version