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 extends Enum<E>> |
EnumMultiset.create(Class<E> type)
Creates an empty
EnumMultiset . |
static <E extends Enum<E>> |
EnumMultiset.create(Iterable<E> elements)
Creates a new
EnumMultiset containing the specified elements. |
static <E extends Enum<E>> |
EnumMultiset.create(Iterable<E> elements,
Class<E> type)
Returns a new
EnumMultiset instance containing the given elements. |
Copyright © 2010–2020. All rights reserved.