public interface DOMStringList
DOMStringList接口提供
DOMString值的有序集合的抽象,没有定义或约束如何集合实现。在
DOMStringList项目都可以通过积分指数,从0开始。
String item(int index)
indexth项集合中的。如果
index大于或等于列表中的
DOMStrings数,返回
null。
index索引到集合。
DOMStringList的
indexth位置或
null
DOMString,如果这不是一个有效的指标。
int getLength()
DOMStrings数。有效的子节点的指数范围是0到
length-1包容。
boolean contains(String str)
DOMStringList部分。
str -查找字符串。
true如果字符串已被发现,
false否则。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.