/[classpath]/classpath/java/lang/String.java
ViewVC logotype

Diff of /classpath/java/lang/String.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.45 by ericb, Tue Apr 30 08:03:51 2002 UTC revision 1.46 by mark, Mon May 6 16:19:20 2002 UTC
# Line 43  import java.util.Comparator; Line 43  import java.util.Comparator;
43  import java.util.WeakHashMap;  import java.util.WeakHashMap;
44  import java.util.Locale;  import java.util.Locale;
45  import java.util.regex.Pattern;  import java.util.regex.Pattern;
46    import java.util.regexp.PatternSyntaxException;
47  import java.io.Serializable;  import java.io.Serializable;
48  import java.io.UnsupportedEncodingException;  import java.io.UnsupportedEncodingException;
49  import java.io.CharConversionException;  import java.io.CharConversionException;
# Line 1121  public final class String implements Ser Line 1122  public final class String implements Ser
1122     * @param regex the pattern to match     * @param regex the pattern to match
1123     * @return true if the pattern matches     * @return true if the pattern matches
1124     * @throws NullPointerException if regex is null     * @throws NullPointerException if regex is null
1125     * @throws PatternSyntaxExceptions if regex is invalid     * @throws PatternSyntaxException if regex is invalid
1126     * @see Pattern#matches(String, CharSequence)     * @see Pattern#matches(String, CharSequence)
1127     * @since 1.4     * @since 1.4
1128     */     */
# Line 1139  public final class String implements Ser Line 1140  public final class String implements Ser
1140     * @param replacement the replacement string     * @param replacement the replacement string
1141     * @return the modified string     * @return the modified string
1142     * @throws NullPointerException if regex or replacement is null     * @throws NullPointerException if regex or replacement is null
1143     * @throws PatternSyntaxExceptions if regex is invalid     * @throws PatternSyntaxException if regex is invalid
1144     * @see #replaceAll(String, String)     * @see #replaceAll(String, String)
1145     * @see Pattern#compile(String)     * @see Pattern#compile(String)
1146     * @see Pattern#matcher(CharSequence)     * @see Pattern#matcher(CharSequence)
# Line 1160  public final class String implements Ser Line 1161  public final class String implements Ser
1161     * @param replacement the replacement string     * @param replacement the replacement string
1162     * @return the modified string     * @return the modified string
1163     * @throws NullPointerException if regex or replacement is null     * @throws NullPointerException if regex or replacement is null
1164     * @throws PatternSyntaxExceptions if regex is invalid     * @throws PatternSyntaxException if regex is invalid
1165     * @see #replaceFirst(String, String)     * @see #replaceFirst(String, String)
1166     * @see Pattern#compile(String)     * @see Pattern#compile(String)
1167     * @see Pattern#matcher(CharSequence)     * @see Pattern#matcher(CharSequence)
# Line 1201  public final class String implements Ser Line 1202  public final class String implements Ser
1202     * @param limit the limit threshold     * @param limit the limit threshold
1203     * @return the array of split strings     * @return the array of split strings
1204     * @throws NullPointerException if regex or replacement is null     * @throws NullPointerException if regex or replacement is null
1205     * @throws PatternSyntaxExceptions if regex is invalid     * @throws PatternSyntaxException if regex is invalid
1206     * @see Pattern#compile(String)     * @see Pattern#compile(String)
1207     * @see Pattern#split(CharSequence, int)     * @see Pattern#split(CharSequence, int)
1208     * @since 1.4     * @since 1.4
# Line 1221  public final class String implements Ser Line 1222  public final class String implements Ser
1222     * @param regex the pattern to match     * @param regex the pattern to match
1223     * @return the array of split strings     * @return the array of split strings
1224     * @throws NullPointerException if regex or replacement is null     * @throws NullPointerException if regex or replacement is null
1225     * @throws PatternSyntaxExceptions if regex is invalid     * @throws PatternSyntaxException if regex is invalid
1226     * @see #split(String, int)     * @see #split(String, int)
1227     * @see Pattern#compile(String)     * @see Pattern#compile(String)
1228     * @see Pattern#split(CharSequence, int)     * @see Pattern#split(CharSequence, int)

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26