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 |
Set
containing the specified elements
IllegalArgumentException | if there are any duplicate elements | |
NullPointerException | if an element is null |
Diagram: Collection Set