Class SplitResult

java.lang.Object
com.google.gwt.regexp.shared.SplitResult

public class SplitResult extends Object
Pure Java implementation of a regular expression split result.
  • Constructor Details

    • SplitResult

      public SplitResult(String[] result)
  • Method Details

    • get

      public 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, String value)
      Sets (overrides) one of the strings split off.
      Parameters:
      index - the index of the string to be set.