public class Maps
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
Maps() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
format(java.util.Map<?,?> map)
Deprecated.
use
StandardRepresentation.toStringOf(Map) instead. |
static java.lang.String |
format(Representation p,
java.util.Map<?,?> map)
Deprecated.
use
StandardRepresentation.toStringOf(Map) instead. |
static <K,V> java.util.Map<K,V> |
newHashMap(K key,
V value) |
@Deprecated public static java.lang.String format(java.util.Map<?,?> map)
StandardRepresentation.toStringOf(Map)
instead.map
- the map to format.String
representation of the given map.@Deprecated public static java.lang.String format(Representation p, java.util.Map<?,?> map)
StandardRepresentation.toStringOf(Map)
instead.String
representation of the given map, or null
if the given map is null
.map
- the map to format.String
representation of the given map.public static <K,V> java.util.Map<K,V> newHashMap(K key, V value)