java中的Enumeration

Enumeration en = pp.keys();
        while(en.hasMoreElements()){
            String key = (String)en.nextElement();
            System.out.println(pp.getProperty(key));
        }
原文地址:https://www.cnblogs.com/liaoxiaolao/p/9886226.html