public class Maps extends Object
Modifier and Type | Method and Description |
---|---|
static String |
format(Map<?,?> map)
Deprecated.
use
StandardRepresentation.toStringOf(Map) instead. |
static String |
format(Representation p,
Map<?,?> map)
Deprecated.
use
StandardRepresentation.toStringOf(Map) instead. |
static <K,V> Map<K,V> |
newHashMap(K key,
V value) |
@Deprecated public static String format(Map<?,?> map)
StandardRepresentation.toStringOf(Map)
instead.map
- the map to format.String
representation of the given map.@Deprecated public static String format(Representation p, Map<?,?> map)
StandardRepresentation.toStringOf(Map)
instead.String
representation of the given map, or null
if the given map is null
.p
- the Representation
to use.map
- the map to format.String
representation of the given map.public static <K,V> Map<K,V> newHashMap(K key, V value)
Copyright © 2014–2019 AssertJ. All rights reserved.