diff options
Diffstat (limited to 'android_icu4j/src/main/java/android/icu/util/StringTokenizer.java')
-rw-r--r-- | android_icu4j/src/main/java/android/icu/util/StringTokenizer.java | 39 |
1 files changed, 16 insertions, 23 deletions
diff --git a/android_icu4j/src/main/java/android/icu/util/StringTokenizer.java b/android_icu4j/src/main/java/android/icu/util/StringTokenizer.java index 8e96a95b6..b6c79c4f2 100644 --- a/android_icu4j/src/main/java/android/icu/util/StringTokenizer.java +++ b/android_icu4j/src/main/java/android/icu/util/StringTokenizer.java @@ -1,7 +1,7 @@ /* GENERATED SOURCE. DO NOT MODIFY. */ /** ******************************************************************************* -* Copyright (C) 1996-2014, International Business Machines Corporation and * +* Copyright (C) 1996-2016, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* */ @@ -21,11 +21,10 @@ import android.icu.text.UnicodeSet; * into tokens by performing code point comparison. * The <code>StringTokenizer</code> methods do not distinguish * among identifiers, numbers, and quoted strings, nor do they recognize - * and skip comments.</p> + * and skip comments. * <p> * The set of delimiters (the codepoints that separate tokens) may be * specified either at creation time or on a per-token basis. - * </p> * <p> * An instance of <code>StringTokenizer</code> behaves in one of three ways, * depending on whether it was created with the <code>returnDelims</code> @@ -45,16 +44,13 @@ import android.icu.text.UnicodeSet; * delimiter code point, a maximal sequence of consecutive code points that * are delimiters, or a maximal sequence of consecutive code * points that are not delimiters. - * </p> * <p> * A <tt>StringTokenizer</tt> object internally maintains a current * position within the string to be tokenized. Some operations advance this * current position past the code point processed. - * </p> * <p> * A token is returned by taking a substring of the string that was used to * create the <tt>StringTokenizer</tt> object. - * </p> * <p> * Example of the use of the default delimiter tokenizer. * <blockquote><pre> @@ -63,7 +59,6 @@ import android.icu.text.UnicodeSet; * println(st.nextToken()); * } * </pre></blockquote> - * </p> * <p> * prints the following output: * <blockquote><pre> @@ -72,7 +67,6 @@ import android.icu.text.UnicodeSet; * a * test * </pre></blockquote> - * </p> * <p> * Example of the use of the tokenizer with user specified delimiter. * <blockquote><pre> @@ -83,7 +77,6 @@ import android.icu.text.UnicodeSet; * println(st.nextToken()); * } * </pre></blockquote> - * </p> * <p> * prints the following output: * <blockquote><pre> @@ -97,7 +90,7 @@ import android.icu.text.UnicodeSet; * \ud800 * \udc00 * </pre></blockquote> - * </p> + * * @author syn wee * @hide Only a subset of ICU is exposed in Android */ @@ -110,7 +103,7 @@ public final class StringTokenizer implements Enumeration<Object> * characters in the delim argument are the delimiters for separating * tokens. * <p>If the returnDelims flag is false, the delimiter characters are - * skipped and only serve as separators between tokens.</p> + * skipped and only serve as separators between tokens. * <p>If the returnDelims flag is true, then the delimiter characters * are also returned as tokens, one per delimiter. * @param str a string to be parsed. @@ -129,12 +122,12 @@ public final class StringTokenizer implements Enumeration<Object> * characters in the delim argument are the delimiters for separating * tokens. * <p>If the returnDelims flag is false, the delimiter characters are - * skipped and only serve as separators between tokens.</p> + * skipped and only serve as separators between tokens. * <p>If the returnDelims flag is true, then the delimiter characters * are also returned as tokens. If coalescedelims is true, one token * is returned for each run of delimiter characters, otherwise one * token is returned per delimiter. Since surrogate pairs can be - * delimiters, the returned token might be two chars in length.</p> + * delimiters, the returned token might be two chars in length. * @param str a string to be parsed. * @param delim the delimiters. * @param returndelims flag indicating whether to return the delimiters @@ -177,7 +170,7 @@ public final class StringTokenizer implements Enumeration<Object> * <strong>[icu]</strong> Constructs a string tokenizer for the specified string. The * characters in the delim argument are the delimiters for separating * tokens. - * <p>Delimiter characters themselves will not be treated as tokens.</p> + * <p>Delimiter characters themselves will not be treated as tokens. * @param str a string to be parsed. * @param delim the delimiters. * @exception NullPointerException if str is null @@ -190,9 +183,9 @@ public final class StringTokenizer implements Enumeration<Object> /** * <p>Constructs a string tokenizer for the specified string. All * characters in the delim argument are the delimiters for separating - * tokens.</p> + * tokens. * <p>If the returnDelims flag is false, the delimiter characters are - * skipped and only serve as separators between tokens.</p> + * skipped and only serve as separators between tokens. * <p>If the returnDelims flag is true, then the delimiter characters * are also returned as tokens, one per delimiter. * @param str a string to be parsed. @@ -209,14 +202,14 @@ public final class StringTokenizer implements Enumeration<Object> /** * <p>Constructs a string tokenizer for the specified string. All * characters in the delim argument are the delimiters for separating - * tokens.</p> + * tokens. * <p>If the returnDelims flag is false, the delimiter characters are - * skipped and only serve as separators between tokens.</p> + * skipped and only serve as separators between tokens. * <p>If the returnDelims flag is true, then the delimiter characters * are also returned as tokens. If coalescedelims is true, one token * is returned for each run of delimiter characters, otherwise one * token is returned per delimiter. Since surrogate pairs can be - * delimiters, the returned token might be two chars in length.</p> + * delimiters, the returned token might be two chars in length. * @param str a string to be parsed. * @param delim the delimiters. * @param returndelims flag indicating whether to return the delimiters @@ -259,8 +252,8 @@ public final class StringTokenizer implements Enumeration<Object> /** * <p>Constructs a string tokenizer for the specified string. The * characters in the delim argument are the delimiters for separating - * tokens.</p> - * <p>Delimiter characters themselves will not be treated as tokens.</p> + * tokens. + * <p>Delimiter characters themselves will not be treated as tokens. * @param str a string to be parsed. * @param delim the delimiters. * @exception NullPointerException if str is null @@ -276,8 +269,8 @@ public final class StringTokenizer implements Enumeration<Object> * The tokenizer uses the default delimiter set, which is * " \t\n\r\f": * the space character, the tab character, the newline character, the - * carriage-return character, and the form-feed character.</p> - * <p>Delimiter characters themselves will not be treated as tokens.</p> + * carriage-return character, and the form-feed character. + * <p>Delimiter characters themselves will not be treated as tokens. * @param str a string to be parsed * @exception NullPointerException if str is null */ |