public final class MapUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T,U> @Nullable java.util.Dictionary<T,U> |
toDictionary(@Nullable java.util.Map<T,U> map)
Convert map to dictionary.
|
static @Nullable java.util.Dictionary<java.lang.String,java.lang.Object> |
toDictionary(java.lang.Object... args)
Convert key/value pairs to dictionary
|
static <T,U> @Nullable java.util.Map<T,U> |
toMap(@Nullable java.util.Dictionary<T,U> dictionary)
Convert Dictionary to map
|
static @NotNull java.util.Map<java.lang.String,java.lang.Object> |
toMap(java.lang.Object... args)
Convert key/value pairs to map
|
@Nullable public static <T,U> @Nullable java.util.Dictionary<T,U> toDictionary(@Nullable @Nullable java.util.Map<T,U> map)
T
- KeyU
- Valuemap
- Map@Nullable public static <T,U> @Nullable java.util.Map<T,U> toMap(@Nullable @Nullable java.util.Dictionary<T,U> dictionary)
T
- KeyU
- Valuedictionary
- Dictionary@Nullable public static @Nullable java.util.Dictionary<java.lang.String,java.lang.Object> toDictionary(@NotNull java.lang.Object... args)
args
- Key/value pairs@NotNull public static @NotNull java.util.Map<java.lang.String,java.lang.Object> toMap(@NotNull java.lang.Object... args)
args
- Key/value pairsCopyright © 2014–2021 wcm.io. All rights reserved.