1 23 24 package com.sun.enterprise.admin.common.domains.registry; 25 import java.util.HashSet ; 26 import java.util.Collection ; 27 35 public class ContactDataSet extends HashSet 36 { 37 38 public ContactDataSet(){ 39 super(); 40 } 41 42 43 57 public ContactDataSet(Collection c) throws NullPointerException , ClassCastException { 58 super(c); 59 } 60 61 public ContactDataSet(int initialCapacity){ 62 super(initialCapacity); 63 } 64 65 public ContactDataSet(int initialCapacity, float loadFactor){ 66 super(initialCapacity, loadFactor); 67 } 68 69 83 public boolean add(Object o) throws NullPointerException , ClassCastException { 84 return super.add((ContactData) o); 85 } 86 87 } 88 | Popular Tags |