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

Returns an unmodifiable set containing five elements. See Unmodifiable Sets for details.

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

Returns:  a Set containing the specified elements

IllegalArgumentException    if there are any duplicate elements
NullPointerException    if an element is null

Since:  9