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 allnullitems removed.
-
-
-
Method Detail
-
removeNullItems
public static <T> List<T> removeNullItems(List<T> list)
Returns a copy of the specified list with allnullitems removed.- Parameters:
list- The list. May benull.- Returns:
- The list with all
nullitems removed,nullif not specified.
-
-