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