// Uses our HashSet implementation. Run in jGRASP debugger // to see it at work. public class HashDemo { public static void main(String[] args) { // change size to see different hashing HashSet set = new HashSet(10); set.add("Connor"); set.add("Melissa"); set.add("Chloe"); set.add("Halden"); set.add("Alan"); set.add("Shobhit"); set.add("Tanvi"); set.add("Cody"); // set a debugger point here to see the internals of the 'set' variable System.out.println(set.size()); } }