Method isElement
/* Return true if the multiset contains 1 or
more instances of item. */
public boolean isElement(int item)
{
return search(item) != currentSize;
}
Previous slide
Next slide
Back to first slide
View graphic version