Package com.nimbusds.oauth2.sdk.util
Class ListUtils
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.util.ListUtils
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> List<T>
removeNullItems(List<T> list)
Returns a copy of the specified list with allnull
items removed.
-
-
-
Method Detail
-
removeNullItems
public static <T> List<T> removeNullItems(List<T> list)
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.
-
-