public static <E> List<E> of (E e1, E e2, E e3)

Returns an unmodifiable list containing three elements. See Unmodifiable Lists for details.

Parameters:
<E>    the List's element type
e1    the first element
e2    the second element
e3    the third element

Returns:  a List containing the specified elements

Exceptions:
NullPointerException    if an element is null

Since:  9