| Modifier and Type | Method and Description |
|---|---|
static <KK,VV> ImmutableMap<KK,VV> |
ImmutableMap.emptyMap()
Get an empty
ImmutableMap. |
static <KK,VV> ImmutableMap<KK,VV> |
ImmutableMap.from(List<ImmutableMap.MapEntry<KK,VV>> list)
|
static <KK,VV> ImmutableMap<KK,VV> |
ImmutableMap.mapOf(ImmutableMap.MapEntry<KK,VV>[] array)
Create an
ImmutableMap from the supplied array of ImmutableMap.MapEntry. |
static <KK,VV> ImmutableMap<KK,VV> |
ImmutableMap.mapOf(ImmutableMap.MapEntry<KK,VV>[] array,
int length)
Create an
ImmutableMap from the supplied array of ImmutableMap.MapEntry with the specified length. |
Copyright © 2021. All rights reserved.