public class SplitResult
extends java.lang.Object
Constructor and Description |
---|
SplitResult(java.lang.String[] result) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(int index)
Returns one the strings split off.
|
int |
length()
Returns the number of strings split off.
|
void |
set(int index,
java.lang.String value)
Sets (overrides) one of the strings split off.
|
public java.lang.String get(int index)
index
- the index of the string to be returned.public int length()
public void set(int index, java.lang.String value)
index
- the index of the string to be set.