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 <K,V> ArrayListMultimap<K,V> |
ArrayListMultimap.create()
Creates a new, empty
ArrayListMultimap with the default initial capacities. |
static <K,V> ArrayListMultimap<K,V> |
ArrayListMultimap.create(int expectedKeys,
int expectedValuesPerKey)
Constructs an empty
ArrayListMultimap with enough capacity to hold the specified
numbers of keys and values without resizing. |
static <K,V> ArrayListMultimap<K,V> |
ArrayListMultimap.create(Multimap<? extends K,? extends V> multimap)
Constructs an
ArrayListMultimap with the same mappings as the specified multimap. |
Copyright © 2010–2020. All rights reserved.