Package com.nimbusds.oauth2.sdk.util
Class MapUtils
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.util.MapUtils
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisEmpty(Map<?,?> map)Returnstrueif the specified map isnullor empty.static booleanisNotEmpty(Map<?,?> map)Returnstrueif the specified map is notnulland not empty.
-
-
-
Method Detail
-
isEmpty
public static boolean isEmpty(Map<?,?> map)
Returnstrueif the specified map isnullor empty.- Parameters:
map- The map. May benull.- Returns:
trueif the map isnullor empty, elsefalse.
-
isNotEmpty
public static boolean isNotEmpty(Map<?,?> map)
Returnstrueif the specified map is notnulland not empty.- Parameters:
map- The map. May benull.- Returns:
trueif the map is notnulland not empty, elsefalse.
-
-