Package org.assertj.core.util
Class Maps
java.lang.Object
org.assertj.core.util.Maps
Utility methods related to maps.
- Author:
- Yvonne Wang, Alex Ruiz, gabga
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringDeprecated.static Stringformat(Representation p, Map<?, ?> map) Deprecated.useStandardRepresentation.toStringOf(Map)instead.static <K,V> Map <K, V> newHashMap(K key, V value)
-
Method Details
-
format
Deprecated.useStandardRepresentation.toStringOf(Map)instead.- Parameters:
map- the map to format.- Returns:
- the
Stringrepresentation of the given map.
-
format
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
-
StandardRepresentation.toStringOf(Map)instead.