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 extends Comparable,V extends Comparable> |
TreeMultimap.create()
Creates an empty
TreeMultimap ordered by the natural ordering of its keys and values. |
static <K,V> TreeMultimap<K,V> |
TreeMultimap.create(Comparator<? super K> keyComparator,
Comparator<? super V> valueComparator)
Creates an empty
TreeMultimap instance using explicit comparators. |
static <K extends Comparable,V extends Comparable> |
TreeMultimap.create(Multimap<? extends K,? extends V> multimap)
Constructs a
TreeMultimap , ordered by the natural ordering of its keys and values, with
the same mappings as the specified multimap. |
Copyright © 2010–2020. All rights reserved.