setUnion(Object firstSet, Object secondSet)

Set the union of two given sets and remove all repeat elements.

Parameters

  • Object firstSet - the first set to put in the final set
  • Object secondSet - the second set to put in the final set

Return type

Object