Package com.nimbusds.oauth2.sdk.util
Class MapUtils
java.lang.Object
com.nimbusds.oauth2.sdk.util.MapUtils
Map utilities. Replicates Apache Commons Collections.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returnstrue
if the specified map isnull
or empty.static boolean
isNotEmpty
(Map<?, ?> map) Returnstrue
if the specified map is notnull
and not empty.
-
Method Details
-
isEmpty
Returnstrue
if the specified map isnull
or empty.- Parameters:
map
- The map. May benull
.- Returns:
true
if the map isnull
or empty, elsefalse
.
-
isNotEmpty
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
.
-