package Ġcollections Ċ Ċ fun Ġmain () Ġ{ ĊĠĠĠ Ġval Ġmar ia Ġ= ĠEmployee (" Mar ia ", Ġ 3 0 0 0 . 0 , Ġ" PJ ") ĊĠĠĠ Ġval Ġjo ao Ġ= ĠEmployee (" Jo Ã£o ", Ġ 1 0 0 0 . 0 , Ġ" CL T ") ĊĠĠĠ Ġval Ġped ro Ġ= ĠEmployee (" Ped ro ", Ġ 2 0 0 0 . 0 , Ġ" CL T ") ĊĊĠĠĠ Ġval Ġemployee 1 Ġ= Ġset Of ( jo ao , Ġped ro ) ĊĠĠĠ Ġval Ġemployee 2 Ġ= Ġset Of ( mar ia ) ĊĊĠĠĠ Ġval Ġresult Union Ġ= Ġemployee 1 . union ( employee 2 ) ĊĠĠĠ Ġresult Union . forEach Ġ{ Ġprintln ( it ) Ġ} ĊĊĠĠĠ Ġprintln (" ================ ====== =") ĊĠĠĠ Ġval Ġemployee 3 Ġ= Ġset Of ( mar ia , Ġjo ao , Ġped ro ) ĊĠĠĠ Ġval Ġresult Subtract Ġ= Ġemployee 3 . subtract ( employee 2 ) ĊĠĠĠ Ġresult Subtract . forEach Ġ{ Ġprintln ( it ) Ġ} ĊĊĠĠĠ Ġprintln (" ================ ====== =") ĊĠĠĠ Ġval Ġresult Intersect Ġ= Ġemployee 3 . intersect ( employee 2 ) ĊĠĠĠ Ġresult Intersect . forEach Ġ{ Ġprintln ( it ) Ġ} Ċ }