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. |
static <E> ConcurrentHashMultiset<E> |
ConcurrentHashMultiset.create(MapMaker mapMaker)
Deprecated.
Use
create(ConcurrentMap) instead. This method is scheduled for deletion
in Guava 21.0. |
Copyright © 2010-2016. All Rights Reserved.