public interface Bag<E> extends Collection<E>
Modifier and Type | Interface and Description |
---|---|
static interface |
Bag.Internal<E> |
Modifier and Type | Method and Description |
---|---|
int |
count(Object o)
Queries how many times the specified object occurs in me.
|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
int count(Object o)
o
- an objectCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.