/*////////////////////////////////////////////////////////// 15-111 Sections G and H Lab 2 Template Name: Section: Andrew Id: Last Updated: Comments to the grader: class Set ///////////////////////////////////////////////////////////*/ import java.util.*; public class Set { // set container private Vector list; // defualt constructor public Set() { list = new Vector();} // build the set void add(Object obj){ if (!list.contains(obj)) list.addElement(obj); } // return true if the set contains the object boolean contains(Object obj){ return (list.contains(obj)); } // print the set void print(){ System.out.print("{"); for (int i=0;i