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 <K0 extends Enum<K0>> |
MultimapBuilder.enumKeys(Class<K0> keyClass)
Uses an
EnumMap to map keys to value collections. |
static MultimapBuilder.MultimapBuilderWithKeys<Object> |
MultimapBuilder.hashKeys()
Uses a hash table to map keys to value collections.
|
static MultimapBuilder.MultimapBuilderWithKeys<Object> |
MultimapBuilder.hashKeys(int expectedKeys)
Uses a hash table to map keys to value collections, initialized to expect the specified
number of keys.
|
static MultimapBuilder.MultimapBuilderWithKeys<Object> |
MultimapBuilder.linkedHashKeys()
Uses a hash table to map keys to value collections.
|
static MultimapBuilder.MultimapBuilderWithKeys<Object> |
MultimapBuilder.linkedHashKeys(int expectedKeys)
Uses an hash table to map keys to value collections, initialized to expect the
specified number of keys.
|
static MultimapBuilder.MultimapBuilderWithKeys<Comparable> |
MultimapBuilder.treeKeys()
Uses a naturally-ordered
TreeMap to map keys to value collections. |
static <K0> MultimapBuilder.MultimapBuilderWithKeys<K0> |
MultimapBuilder.treeKeys(Comparator<K0> comparator)
Uses a
TreeMap sorted by the specified comparator to map keys to value collections. |
Copyright © 2010–2018. All rights reserved.