Package com.google.gwt.regexp.shared
Class SplitResult
- java.lang.Object
-
- com.google.gwt.regexp.shared.SplitResult
-
public class SplitResult extends java.lang.Object
Pure Java implementation of a regular expression split result.
-
-
Constructor Summary
Constructors Constructor Description SplitResult(java.lang.String[] result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
get
public java.lang.String get(int index)
Returns one the strings split off.- Parameters:
index
- the index of the string to be returned.- Returns:
- The index'th string resulting from the split.
-
length
public int length()
Returns the number of strings split off.
-
set
public void set(int index, java.lang.String value)
Sets (overrides) one of the strings split off.- Parameters:
index
- the index of the string to be set.
-
-