Java tutorial
import java.util.HashSet; public class Main { public static void main(String args[]) { HashSet<String> hs = new HashSet<String>(20, 0.75F); hs.add("java2s.com"); hs.add("j a v a2s.com"); System.out.println(hs); } }