}
Methods are provided to enumerate through the elements of a vector, the keys of a hashtable, and the values in a hashtable. Enumerations are also used to specify the input streams to a SequenceInputStream. 提供了通过vector元素、hash表关键字和hash表关键值枚举元素的方法。 Enumeration也可用来指定输入流为SequenceInputStream。
NOTE: The functionality of this interface is duplicated by the Iterator interface. In addition, Iterator adds an optional remove operation, and has shorter method names. New implementations should consider using Iterator in preference to Enumeration. 注意:该接口和Iterator接口功能上重复。Iterator增加了可选的删除操作,方法名更短。 新的实现应当优先考虑Iterator而不是Enumeration。
- Since:
- JDK1.0
- See Also:
Iterator,SequenceInputStream,nextElement(),Hashtable,Hashtable.elements(),Hashtable.keys(),Vector,Vector.elements()
<!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD 下一篇: java.util.Observer翻译
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




