public interface StringList extends Iterable<java.lang.String>
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.String s) |
java.lang.String |
get(int index) |
int |
size() |
java.lang.String[] |
toStringArray() |
java.lang.String[] |
toStringArray(int from,
int to)
Return a section of the contents of the list.
|
boolean add(java.lang.String s)
java.lang.String get(int index)
int size()
java.lang.String[] toStringArray()
java.lang.String[] toStringArray(int from,
int to)
from - the initial index of the range to be copied, inclusiveto - the final index of the range to be copied, exclusive.