Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Method and Description |
---|---|
static <E> ConcurrentHashMultiset<E> |
ConcurrentHashMultiset.create()
Creates a new, empty
ConcurrentHashMultiset using the default initial capacity, load
factor, and concurrency settings. |
static <E> ConcurrentHashMultiset<E> |
ConcurrentHashMultiset.create(ConcurrentMap<E,AtomicInteger> countMap)
Creates a new, empty
ConcurrentHashMultiset using countMap as the internal
backing map. |
static <E> ConcurrentHashMultiset<E> |
ConcurrentHashMultiset.create(Iterable<? extends E> elements)
Creates a new
ConcurrentHashMultiset containing the specified elements, using the
default initial capacity, load factor, and concurrency settings. |
Copyright © 2010–2019. All rights reserved.