public final class MapHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.Object> |
mapOf()
Create a new mutable empty map.
|
static java.util.Map<java.lang.String,java.lang.Object> |
mapOf(java.lang.String k1,
java.lang.Object v1)
Create a new mutable map with contents
(k1, v1) . |
static java.util.Map<java.lang.String,java.lang.Object> |
mapOf(java.lang.String k1,
java.lang.Object v1,
java.lang.String k2,
java.lang.Object v2)
Create a new mutable map with the specified contents.
|
static java.util.Map<java.lang.String,java.lang.Object> |
mapOf(java.lang.String k1,
java.lang.Object v1,
java.lang.String k2,
java.lang.Object v2,
java.lang.String k3,
java.lang.Object v3)
Create a new mutable map with the specified contents.
|
static java.util.Map<java.lang.String,java.lang.Object> |
mapOf(java.lang.String k1,
java.lang.Object v1,
java.lang.String k2,
java.lang.Object v2,
java.lang.String k3,
java.lang.Object v3,
java.lang.String k4,
java.lang.Object v4)
Create a new mutable map with the specified contents.
|
static java.util.Map<java.lang.String,java.lang.Object> |
mapOf(java.lang.String k1,
java.lang.Object v1,
java.lang.String k2,
java.lang.Object v2,
java.lang.String k3,
java.lang.Object v3,
java.lang.String k4,
java.lang.Object v4,
java.lang.String k5,
java.lang.Object v5)
Create a new mutable map with the specified contents.
|
static java.util.Map<java.lang.String,java.lang.Object> |
mapOf(java.lang.String k1,
java.lang.Object v1,
java.lang.String k2,
java.lang.Object v2,
java.lang.String k3,
java.lang.Object v3,
java.lang.String k4,
java.lang.Object v4,
java.lang.String k5,
java.lang.Object v5,
java.lang.String k6,
java.lang.Object v6)
Create a new mutable map with the specified contents.
|
static java.util.Map<java.lang.String,java.lang.Object> |
mapOf(java.lang.String k1,
java.lang.Object v1,
java.lang.String k2,
java.lang.Object v2,
java.lang.String k3,
java.lang.Object v3,
java.lang.String k4,
java.lang.Object v4,
java.lang.String k5,
java.lang.Object v5,
java.lang.String k6,
java.lang.Object v6,
java.lang.String k7,
java.lang.Object v7)
Create a new mutable map with the specified contents.
|
static java.util.Map<java.lang.String,java.lang.Object> |
mapOf(java.lang.String k1,
java.lang.Object v1,
java.lang.String k2,
java.lang.Object v2,
java.lang.String k3,
java.lang.Object v3,
java.lang.String k4,
java.lang.Object v4,
java.lang.String k5,
java.lang.Object v5,
java.lang.String k6,
java.lang.Object v6,
java.lang.String k7,
java.lang.Object v7,
java.lang.String k8,
java.lang.Object v8)
Create a new mutable map with the specified contents.
|
public static java.util.Map<java.lang.String,java.lang.Object> mapOf()
public static java.util.Map<java.lang.String,java.lang.Object> mapOf(java.lang.String k1, java.lang.Object v1)
(k1, v1)
.k1
- The key of the element to add to the new mapv1
- The value of the element to add to the new mappublic static java.util.Map<java.lang.String,java.lang.Object> mapOf(java.lang.String k1, java.lang.Object v1, java.lang.String k2, java.lang.Object v2)
k1
- The key of the first element to add to the new mapv1
- The value of the first element to add to the new mapk2
- The key of the second element to add to the new mapv2
- The value of the second element to add to the new mappublic static java.util.Map<java.lang.String,java.lang.Object> mapOf(java.lang.String k1, java.lang.Object v1, java.lang.String k2, java.lang.Object v2, java.lang.String k3, java.lang.Object v3)
k1
- The key of the first element to add to the new mapv1
- The value of the first element to add to the new mapk2
- The key of the second element to add to the new mapv2
- The value of the second element to add to the new mapk3
- The key of the third element to add to the new mapv3
- The value of the third element to add to the new mappublic static java.util.Map<java.lang.String,java.lang.Object> mapOf(java.lang.String k1, java.lang.Object v1, java.lang.String k2, java.lang.Object v2, java.lang.String k3, java.lang.Object v3, java.lang.String k4, java.lang.Object v4)
k1
- The key of the first element to add to the new mapv1
- The value of the first element to add to the new mapk2
- The key of the second element to add to the new mapv2
- The value of the second element to add to the new mapk3
- The key of the third element to add to the new mapv3
- The value of the third element to add to the new mapk4
- The key of the fourth element to add to the new mapv4
- The value of the fourth element to add to the new mappublic static java.util.Map<java.lang.String,java.lang.Object> mapOf(java.lang.String k1, java.lang.Object v1, java.lang.String k2, java.lang.Object v2, java.lang.String k3, java.lang.Object v3, java.lang.String k4, java.lang.Object v4, java.lang.String k5, java.lang.Object v5)
k1
- The key of the first element to add to the new mapv1
- The value of the first element to add to the new mapk2
- The key of the second element to add to the new mapv2
- The value of the second element to add to the new mapk3
- The key of the third element to add to the new mapv3
- The value of the third element to add to the new mapk4
- The key of the fourth element to add to the new mapv4
- The value of the fourth element to add to the new mapk5
- The key of the fifth element to add to the new mapv5
- The value of the fifth element to add to the new mappublic static java.util.Map<java.lang.String,java.lang.Object> mapOf(java.lang.String k1, java.lang.Object v1, java.lang.String k2, java.lang.Object v2, java.lang.String k3, java.lang.Object v3, java.lang.String k4, java.lang.Object v4, java.lang.String k5, java.lang.Object v5, java.lang.String k6, java.lang.Object v6)
k1
- The key of the first element to add to the new mapv1
- The value of the first element to add to the new mapk2
- The key of the second element to add to the new mapv2
- The value of the second element to add to the new mapk3
- The key of the third element to add to the new mapv3
- The value of the third element to add to the new mapk4
- The key of the fourth element to add to the new mapv4
- The value of the fourth element to add to the new mapk5
- The key of the fifth element to add to the new mapv5
- The value of the fifth element to add to the new mapk6
- The key of the sixth element to add to the new mapv6
- The value of the sixth element to add to the new mappublic static java.util.Map<java.lang.String,java.lang.Object> mapOf(java.lang.String k1, java.lang.Object v1, java.lang.String k2, java.lang.Object v2, java.lang.String k3, java.lang.Object v3, java.lang.String k4, java.lang.Object v4, java.lang.String k5, java.lang.Object v5, java.lang.String k6, java.lang.Object v6, java.lang.String k7, java.lang.Object v7)
k1
- The key of the first element to add to the new mapv1
- The value of the first element to add to the new mapk2
- The key of the second element to add to the new mapv2
- The value of the second element to add to the new mapk3
- The key of the third element to add to the new mapv3
- The value of the third element to add to the new mapk4
- The key of the fourth element to add to the new mapv4
- The value of the fourth element to add to the new mapk5
- The key of the fifth element to add to the new mapv5
- The value of the fifth element to add to the new mapk6
- The key of the sixth element to add to the new mapv6
- The value of the sixth element to add to the new mapk7
- The key of the seventh element to add to the new mapv7
- The value of the seventh element to add to the new mappublic static java.util.Map<java.lang.String,java.lang.Object> mapOf(java.lang.String k1, java.lang.Object v1, java.lang.String k2, java.lang.Object v2, java.lang.String k3, java.lang.Object v3, java.lang.String k4, java.lang.Object v4, java.lang.String k5, java.lang.Object v5, java.lang.String k6, java.lang.Object v6, java.lang.String k7, java.lang.Object v7, java.lang.String k8, java.lang.Object v8)
k1
- The key of the first element to add to the new mapv1
- The value of the first element to add to the new mapk2
- The key of the second element to add to the new mapv2
- The value of the second element to add to the new mapk3
- The key of the third element to add to the new mapv3
- The value of the third element to add to the new mapk4
- The key of the fourth element to add to the new mapv4
- The value of the fourth element to add to the new mapk5
- The key of the fifth element to add to the new mapv5
- The value of the fifth element to add to the new mapk6
- The key of the sixth element to add to the new mapv6
- The value of the sixth element to add to the new mapk7
- The key of the seventh element to add to the new mapv7
- The value of the seventh element to add to the new mapk8
- The key of the eighth element to add to the new mapv8
- The value of the eighth element to add to the new map