Package com.nimbusds.oauth2.sdk.util
Class ListUtils
java.lang.Object
com.nimbusds.oauth2.sdk.util.ListUtils
List utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T>
removeNullItems
(List<T> list) Returns a copy of the specified list with allnull
items removed.
-
Method Details
-
removeNullItems
Returns a copy of the specified list with allnull
items removed.- Parameters:
list
- The list. May benull
.- Returns:
- The list with all
null
items removed,null
if not specified.
-