Example usage for Java com.google.common.collect ConcurrentHashMultiset fields, constructors, methods, implement or subclass
The text is from its open source code.
int | count(@Nullable Object element) Returns the number of occurrences of element in this multiset. |
ConcurrentHashMultiset | create() Creates a new, empty ConcurrentHashMultiset using the default initial capacity, load factor, and concurrency settings. |
ConcurrentHashMultiset | create(Iterable extends E> elements) Creates a new ConcurrentHashMultiset containing the specified elements, using the default initial capacity, load factor, and concurrency settings. |
ConcurrentHashMultiset | create(MapMaker mapMaker) Creates a new, empty ConcurrentHashMultiset using mapMaker to construct the internal backing map. |
boolean | setCount(E element, int expectedOldCount, int newCount) Sets the number of occurrences of element to newCount , but only if the count is currently expectedOldCount . |