E - The element type.public interface Bag<E>
extends Collection<E>
| Modifier and Type | Method and Description |
|---|---|
int |
count(E element)
Counts the occurence of an element in the bag.
|
@CheckReturnValue
int count(@Nonnull
E element)
element - The element.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.