| 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 MapConstraint |
MapConstraints.notNull()
Returns a constraint that verifies that neither the key nor the value is null.
|
| Modifier and Type | Method and Description |
|---|---|
static <K |
MapConstraints.constrainedBiMap(BiMap
Returns a constrained view of the specified bimap, using the specified constraint.
|
static <K |
MapConstraints.constrainedListMultimap(ListMultimap
Returns a constrained view of the specified list multimap, using the specified constraint.
|
static <K |
MapConstraints.constrainedMap(Map
Returns a constrained view of the specified map, using the specified constraint.
|
static <K |
MapConstraints.constrainedMultimap(Multimap
Returns a constrained view of the specified multimap, using the specified constraint.
|
static <K |
MapConstraints.constrainedSetMultimap(SetMultimap
Returns a constrained view of the specified set multimap, using the specified constraint.
|
static <K |
MapConstraints.constrainedSortedSetMultimap(SortedSetMultimap
Returns a constrained view of the specified sorted-set multimap, using the specified constraint.
|