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