| Modifier and Type | Field and Description |
|---|---|
static ImmutableMapEntry<?,?>[] |
ImmutableMap.emptyEntryArray |
| Modifier and Type | Method and Description |
|---|---|
static <KK,VV> ImmutableMapEntry<KK,VV>[] |
ImmutableMap.createArray(int length)
Create an array of
ImmutableMapEntry, of the specified length. |
static <KK,VV> ImmutableMapEntry<KK,VV> |
ImmutableMap.entry(KK key,
VV value)
Create a
ImmutableMapEntry. |
static <KK,VV> ImmutableMapEntry<KK,VV> |
MiniMap.entry(KK key,
VV value)
Create an
ImmutableMapEntry. |
ImmutableMapEntry<K,V> |
ImmutableMap.getEntry(int index)
Get a map entry by index.
|
| Modifier and Type | Method and Description |
|---|---|
static <KK,VV> boolean |
ImmutableMap.containsKey(ImmutableMapEntry<KK,VV>[] array,
int length,
KK key)
Test whether an array of
ImmutableMapEntry contains the specified key. |
static <KK,VV> int |
ImmutableMap.findKey(ImmutableMapEntry<KK,VV>[] array,
int length,
Object key)
Locate a key in an array of
ImmutableMapEntry. |
static <KK,VV> ImmutableMap<KK,VV> |
ImmutableMap.mapOf(ImmutableMapEntry<KK,VV>[] array)
Create an
ImmutableMap from the supplied array of ImmutableMapEntry. |
static <KK,VV> ImmutableMap<KK,VV> |
ImmutableMap.mapOf(ImmutableMapEntry<KK,VV>[] array,
int length)
Create an
ImmutableMap from the supplied array of ImmutableMapEntry with the specified length. |
| Modifier and Type | Method and Description |
|---|---|
static <KK,VV> boolean |
ImmutableMap.containsKey(List<ImmutableMapEntry<KK,VV>> list,
KK key)
Test whether a
List of ImmutableMapEntry contains the specified key. |
static <KK,VV> ImmutableMap<KK,VV> |
ImmutableMap.from(List<ImmutableMapEntry<KK,VV>> list)
|
| Constructor and Description |
|---|
ImmutableMap(ImmutableMapEntry<K,V>[] array)
Construct an
ImmutableList with the given array (using the entire array). |
ImmutableMap(ImmutableMapEntry<K,V>[] array,
int length)
Construct an
ImmutableMap with the given array (of ImmutableMapEntry) and length. |
Copyright © 2023. All rights reserved.