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

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

<E>    the List's element type
e1    the first element
e2    the second element
e3    the third element
e4    the fourth element
e5    the fifth element
e6    the sixth element

Returns:  a List containing the specified elements

NullPointerException    if an element is null

Since:  9