package yokohama.unit.util;

import java.util.Collection;
import java.util.Set;
import java.util.TreeSet;
import lombok.NonNull;

public class SetUtils {
    public static <E> Set<E> union(@NonNull Collection<? extends E> a, @NonNull Collection<? extends E> b) {
        Set<E> s = new TreeSet<>();
        s.addAll(a);
        s.addAll(b);
        return s;
    }
}

@@ -71,16 +71,20 @@
 va.util.
+Hash
 Set;%0D%0Aim
@@ -98,20 +98,16 @@
 va.util.
-Tree
 Set;%0D%0Aim
@@ -292,12 +292,12 @@
 new 
-Tree
+Hash
 Set%3C

Replace TreeSet with HashSet