public class Maps extends Object
Modifier and Type | Method and Description |
---|---|
static String |
format(Map<?,?> map)
|
static String |
format(Representation p,
Map<?,?> map)
Returns the
String representation of the given map, or null if the given map is null . |
static <K,V> Map<K,V> |
newHashMap(K key,
V value) |
public static String format(Map<?,?> map)
map
- the map to format.String
representation of the given map.public static String format(Representation p, Map<?,?> map)
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> Map<K,V> newHashMap(K key, V value)
Copyright © 2013–2016 AssertJ. All rights reserved.