![]() |
VOOZH | about |
public Spliterator spliterator()Return Value: The function returns an spliterator over the elements in the Set. Below programs illustrate the above function: Program 1:
CopyOnWriteArraySet: [32, 67, 100] Set of Numbers: 32 67 100
CopyOnWriteArraySet: [gopal, gfg, jgec, sudo] Set of strings: gopal gfg jgec sudo