![]() |
VOOZH | about |
ConcurrentSkipListSet.clear()Parameters: The function does not accept any parameter. Return Value: The function does not return anything. Below programs illustrate the ConcurrentSkipListSet.clear() method: Program 1:
The set contains: [10, 20, 30, 40, 50] After clear operation the set contains: []
The set contains: [alex, bob, chuck, drake, eric] After clear operation the set contains: []