// CSE 143, Winter 2010, Marty Stepp // A short client program that uses the HashIntSet we wrote. public class HashMain { public static void main(String[] args) { HashIntSet set = new HashIntSet(); set.add(7); set.add(11); set.add(24); set.add(54); // oh noez set.add(49); System.out.println(set.contains(24)); // true System.out.println(set.contains(49)); // true System.out.println(set.contains(2)); // false System.out.println(set.contains(15)); // false System.out.println(set.contains(29)); // false } }