if(boo==false) 
                  {
                    peopleList.put(name,this);          
                    out.writeUTF("可以聊天:");
                    Enumeration enum=peopleList.elements();   
                     while(enum.hasMoreElements())            
                     {
                       Server_thread th=(Server_thread)enum.nextElement();
                       th.out.writeUTF("聊天者:"+name+"性别"+sex);  
                       
                       
                       if(th!=this)
                         {
                           out.writeUTF("聊天者:"+th.name+"性别"+th.sex);
                         } 
                     } 
                     
                  }
在elipse中导入了java.util.*;但是在使用时候却提示Enumeration不可以使用。。一使用就错误,究竟是什么原因,我的jdk版本也肯定超过5.0的版本了应该可以使用这个特性。上面只是一部分代码应该怎么解决呢?