Returns an unmodifiable list containing one element. See Unmodifiable Lists for details.
<E> | the List's element type | |
e1 | the single element |
List containing the specified element
NullPointerException | if the element is null |
Diagram: Collection List