java.util.Enumeration翻译

2008-02-23 09:40:39来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

<!-- 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 System.out.println(e.nextElement());
}

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翻译

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:java.util.Observer翻译

下一篇:Tomcat中文手册(来源:www.qcsky.net)