摘要: public interface Enumeration实现 Enumeration 接口的对象,它生成一系列元素,一次生成一个。连续调用 nextElement方法将返回一系列的连续元素。例如,要输出 Vector v的所有元素,可使用以下方法: for (Enumeration e = v.... 阅读全文
posted @ 2011-11-02 19:49 残星 阅读(1887) 评论(0) 推荐(0) 编辑