public final class MapUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T,U> @Nullable Dictionary<T,U> |
toDictionary(@Nullable Map<T,U> map)
Convert map to dictionary.
|
static @Nullable Dictionary<String,Object> |
toDictionary(Object... args)
Convert key/value pairs to dictionary
|
static <T,U> @Nullable Map<T,U> |
toMap(@Nullable Dictionary<T,U> dictionary)
Convert Dictionary to map
|
static @NotNull Map<String,Object> |
toMap(Object... args)
Convert key/value pairs to map
|
@Nullable public static <T,U> @Nullable Dictionary<T,U> toDictionary(@Nullable @Nullable Map<T,U> map)
T - KeyU - Valuemap - Map@Nullable public static <T,U> @Nullable Map<T,U> toMap(@Nullable @Nullable Dictionary<T,U> dictionary)
T - KeyU - Valuedictionary - Dictionary@Nullable public static @Nullable Dictionary<String,Object> toDictionary(@NotNull Object... args)
args - Key/value pairsCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.