Modifier and Type | Method and Description |
---|---|
static String[] |
asArrayOrNull(List<String> listOfStrings)
Returns the given list content as an array, or
null if the list is empty. |
public static String[] asArrayOrNull(List<String> listOfStrings)
null
if the list is empty.listOfStrings
- list to be convertednull
if the list is empty.Copyright 2011-2015 ForgeRock AS.