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