public interface DOMStringList
DOMStringList
接口提供
DOMString
值的有序集合的抽象,没有定义或约束如何集合实现。在
DOMStringList
项目都可以通过积分指数,从0开始。
String item(int index)
index
th项集合中的。如果
index
大于或等于列表中的
DOMString
s数,返回
null
。
index
索引到集合。
DOMStringList
的
index
th位置或
null
DOMString
,如果这不是一个有效的指标。
int getLength()
DOMString
s数。有效的子节点的指数范围是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.