public void addInterface(CP ilist[]){
  for (int i=0; i < ilist.length; i++) {
    interfaces.addElement(ilist[i]);
    addCPItem(ilist[i]);
  }
}

public void addInterface ( CP ilist [ ] ) { for ( int i = 0 ; i < ilist . length ; i ++ ) { interfaces . addElement ( ilist [ i ] ) ; addCPItem ( ilist [ i ] ) ; } }
add this to the list of interfaces supposedly implemented by this class . note that each cp is usually a classcp .
