转自: http://zz563143188.iteye.com/blog/1847029

; i<count; i++){

  • list.add(new MailSender());
  • }
  • }
  • public void produceSmsSender(int count){
  • for(int i=0; i<count; i++){
  • list.add(new SmsSender());
  • }
  • }
  • }