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 booleanReturnstrueif the specified map isnullor empty.static booleanisNotEmpty(Map<?, ?> map) Returnstrueif the specified map is notnulland not empty.
-
Method Details
-
isEmpty
Returnstrueif the specified map isnullor empty.- Parameters:
map- The map. May benull.- Returns:
trueif the map isnullor empty, elsefalse.
-
isNotEmpty
Returnstrueif the specified map is notnulland not empty.- Parameters:
map- The map. May benull.- Returns:
trueif the map is notnulland not empty, elsefalse.
-