Package org.assertj.core.util
Class Maps
- java.lang.Object
-
- org.assertj.core.util.Maps
-
public class Maps extends java.lang.ObjectUtility methods related to maps.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateMaps()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.Stringformat(java.util.Map<?,?> map)Deprecated.useStandardRepresentation.toStringOf(Map)instead.static java.lang.Stringformat(Representation p, java.util.Map<?,?> map)Deprecated.useStandardRepresentation.toStringOf(Map)instead.static <K,V>
java.util.Map<K,V>newHashMap(K key, V value)
-
-
-
Method Detail
-
format
@Deprecated public static java.lang.String format(java.util.Map<?,?> map)
Deprecated.useStandardRepresentation.toStringOf(Map)instead.- Parameters:
map- the map to format.- Returns:
- the
Stringrepresentation of the given map.
-
format
@Deprecated public static java.lang.String format(Representation p, java.util.Map<?,?> map)
Deprecated.useStandardRepresentation.toStringOf(Map)instead.Returns theStringrepresentation of the given map, ornullif the given map isnull.- Parameters:
p- theRepresentationto use.map- the map to format.- Returns:
- the
Stringrepresentation of the given map.
-
newHashMap
public static <K,V> java.util.Map<K,V> newHashMap(K key, V value)
-
-