org.bouncycastle.util
Interface StringList
- All Superinterfaces:
- Iterable
- public interface StringList
- extends Iterable
Method Summary |
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. |
add
public boolean add(java.lang.String s)
get
public java.lang.String get(int index)
size
public int size()
toStringArray
public java.lang.String[] toStringArray()
toStringArray
public java.lang.String[] toStringArray(int from,
int to)
- Return a section of the contents of the list. If the list is too short the array is filled with nulls.
- Parameters:
from
- the initial index of the range to be copied, inclusiveto
- the final index of the range to be copied, exclusive.- Returns:
- an array of length to - from