1package org.testng.collections;
2
3import java.util.Collection;
4import java.util.HashSet;
5import java.util.LinkedHashSet;
6import java.util.Set;
7
8public final class Sets {
9
10  private Sets() {}
11
12  public static <V> Set<V> newHashSet() {
13    return new HashSet<>();
14  }
15
16  public static <V> Set<V> newHashSet(Collection<V> c) {
17    return new HashSet<>(c);
18  }
19
20  public static <V> Set<V> newLinkedHashSet() {
21    return new LinkedHashSet<>();
22  }
23}
24