Java com.google.common.collect ConcurrentHashMultiset fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect ConcurrentHashMultiset fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect ConcurrentHashMultiset.

The text is from its open source code.

Method

intcount(@Nullable Object element)
Returns the number of occurrences of element in this multiset.
ConcurrentHashMultisetcreate()
Creates a new, empty ConcurrentHashMultiset using the default initial capacity, load factor, and concurrency settings.
ConcurrentHashMultisetcreate(Iterable elements)
Creates a new ConcurrentHashMultiset containing the specified elements, using the default initial capacity, load factor, and concurrency settings.
ConcurrentHashMultisetcreate(MapMaker mapMaker)
Creates a new, empty ConcurrentHashMultiset using mapMaker to construct the internal backing map.
booleansetCount(E element, int expectedOldCount, int newCount)
Sets the number of occurrences of element to newCount , but only if the count is currently expectedOldCount .