import java.util.HashSet; import java.util.Set; public class TRAI_24_X5_skeleton implements TRAI_24_X5 { // ^^^^^ // own userid here /** * SELF-EVALUATION HERE: * * * */ /** * One-in-three union. * Creates and returns a new set that contains those elements that * are contained in exactly one of the three input sets. * If no element fulfills the requirement, returns a new empty set. * Does not modify input sets. * @param s1 input set * @param s2 input set * @param s3 input set * @param element type * @return result set */ @Override public Set oneInThree(Set s1, Set s2, Set s3) { Set result = new HashSet<>(); // TODO return result; } }