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 boolean
isEmpty(Map<?,?> map)
Returnstrue
if the specified map isnull
or empty.static boolean
isNotEmpty(Map<?,?> map)
Returnstrue
if the specified map is notnull
and not empty.
-
-
-
Method Detail
-
isEmpty
public static boolean isEmpty(Map<?,?> map)
Returnstrue
if the specified map isnull
or empty.- Parameters:
map
- The map. May benull
.- Returns:
true
if the map isnull
or empty, elsefalse
.
-
isNotEmpty
public static boolean isNotEmpty(Map<?,?> map)
Returnstrue
if the specified map is notnull
and not empty.- Parameters:
map
- The map. May benull
.- Returns:
true
if the map is notnull
and not empty, elsefalse
.
-
-