Method Name: difference(anotherSetObject_in)
Method Overview:
A difference set is returned - and this will have elements in this set which are not in the other set.
Parameters:
anotherSetObject_in : The set to be compared to produce the difference set.
Exceptions:
None
Example:
GemList1 = {"Ruby", "Pearl", "Sapphire", "Topaz"} GemList2 = {"Ruby", "Pearl"," Spinel", "Diamond", "Aquamarine"} |