Package org.fest.util
Class Maps
- java.lang.Object
-
- org.fest.util.Maps
-
public class Maps extends java.lang.ObjectUtility methods related to maps.- Author:
- Yvonne Wang, Alex Ruiz
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringformat(java.util.Map<?,?> map)Returns theStringrepresentation of the given map, ornullif the given map isnull.static booleanisNullOrEmpty(java.util.Map<?,?> map)Indicates whether the givenMapisnullor empty.
-
-
-
Method Detail
-
isNullOrEmpty
public static boolean isNullOrEmpty(java.util.Map<?,?> map)
Indicates whether the givenMapisnullor empty.- Parameters:
map- the map to check.- Returns:
trueif the givenMapisnullor empty, otherwisefalse.
-
format
public static java.lang.String format(java.util.Map<?,?> map)
Returns theStringrepresentation of the given map, ornullif the given map isnull.- Parameters:
map- the map to format.- Returns:
- the
Stringrepresentation of the given map.
-
-