Package org.fest.util
Class Maps
java.lang.Object
org.fest.util.Maps
Utility methods related to maps.
- Author:
- Yvonne Wang, Alex Ruiz
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns theString
representation of the given map, ornull
if the given map isnull
.static boolean
isNullOrEmpty
(Map<?, ?> map) Indicates whether the givenMap
isnull
or empty.
-
Method Details
-
isNullOrEmpty
Indicates whether the givenMap
isnull
or empty.- Parameters:
map
- the map to check.- Returns:
true
if the givenMap
isnull
or empty, otherwisefalse
.
-
format
Returns theString
representation of the given map, ornull
if the given map isnull
.- Parameters:
map
- the map to format.- Returns:
- the
String
representation of the given map.
-