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 |
---|---|
ImmutableClassToInstanceMap<B> |
ImmutableClassToInstanceMap.Builder.build()
Returns a new immutable class-to-instance map containing the entries
provided to this builder.
|
static <B,S extends B> |
ImmutableClassToInstanceMap.copyOf(Map<? extends Class<? extends S>,? extends S> map)
Returns an immutable map containing the same entries as
map . |
static <B> ImmutableClassToInstanceMap<B> |
ImmutableClassToInstanceMap.of()
Returns an empty
ImmutableClassToInstanceMap . |
static <B,T extends B> |
ImmutableClassToInstanceMap.of(Class<T> type,
T value)
Returns an
ImmutableClassToInstanceMap containing a single entry. |
Copyright © 2010–2017. All rights reserved.