- All Known Implementing Classes:
DOMStringListImpl
public interface DOMStringList
A type returned by some APIs which contains a list of DOMString (strings).
-
Method Summary
boolean
Returns true if strings contains string, and false otherwise.
int
Returns the number of strings in strings.
Returns the string with index index from strings.
-
Method Details
-
getLength
int getLength()
Returns the number of strings in strings.
- Returns:
- a
Integer
object.
-
contains
boolean contains(String string)
Returns true if strings contains string, and false otherwise.
- Parameters:
string
- a String
object.
- Returns:
- a boolean.
-
item
Returns the string with index index from strings.
- Parameters:
index
- a Integer
object.
- Returns:
- a
String
object.