Home | History | Annotate | Download | only in unicode

Lines Matching full:code

35  * A character specifies a subset of Unicode code points.  Legal
36 * code points are U+0000 to U+10FFFF, inclusive.
40 * <p><code>UnicodeSet</code> supports two APIs. The first is the
42 * a <code>UnicodeSet</code> object. It conforms to Java 2's
43 * <code>java.util.Set</code> interface, although
44 * <code>UnicodeSet</code> does not actually implement that
45 * interface. All methods of <code>Set</code> are supported, with the
47 * instead of an <code>Object</code>, and they take a
48 * <code>UnicodeSet</code> instead of a <code>Collection</code>. The
50 * OR is implemented by <code>add</code>, a boolean AND is implemented
51 * by <code>retain</code>, a boolean XOR is implemented by
52 * <code>complement</code> taking an argument, and a boolean NOT is
53 * implemented by <code>complement</code> with no argument. In terms
54 * of traditional set theory function names, <code>add</code> is a
55 * union, <code>retain</code> is an intersection, <code>remove</code>
56 * is an asymmetric difference, and <code>complement</code> with no
58 * <code>MIN_VALUE-MAX_VALUE</code>
61 * <code>applyPattern()</code>/<code>toPattern()</code> API from the
62 * <code>java.text.Format</code>-derived classes. Unlike the
64 * of the set, the method <code>applyPattern()</code> sets all
65 * attributes of a <code>UnicodeSet</code> at once, based on a
71 * <code>applyPattern()</code> methods and returned by the
72 * <code>toPattern()</code> method. These patterns follow a syntax
79 * <td nowrap valign="top" align="left"><code>[]</code></td>
82 * <td nowrap valign="top" align="left"><code>[a]</code></td>
85 * <td nowrap valign="top" align="left"><code>[ae]</code></td>
89 * <td nowrap valign="top" align="left"><code>[a-e]</code></td>
90 * <td valign="top">The characters 'a' through 'e' inclusive, in Unicode code
94 * <td nowrap valign="top" align="left"><code>[\\u4E01]</code></td>
98 * <td nowrap valign="top" align="left"><code>[a{ab}{ac}]</code></td>
103 * <td nowrap valign="top" align="left"><code>[\\p{Lu}]</code></td>
150 * <tr valign=top><td nowrap><code>[a]</code><td>The set containing 'a'
151 * <tr valign=top><td nowrap><code>[a-z]</code><td>The set containing 'a'
153 * <tr valign=top><td nowrap><code>[^a-z]</code><td>The set containing
156 * <tr valign=top><td nowrap><code>[[<em>pat1</em>][<em>pat2</em>]]</code>
158 * <tr valign=top><td nowrap><code>[[<em>pat1</em>]&[<em>pat2</em>]]</code>
160 * <tr valign=top><td nowrap><code>[[<em>pat1</em>]-[<em>pat2</em>]]</code>
163 * <tr valign=top><td nowrap><code>[:Lu:] or \\p{Lu}</code>
167 * <tr valign=top><td nowrap><code>[:^Lu:] or \\P{Lu}</code>
179 * <td nowrap valign="top" align="right"><code>pattern :=&nbsp; </code></td>
180 * <td valign="top"><code>('[' '^'? item* ']') |
181 * property</code></td>
184 * <td nowrap valign="top" align="right"><code>item :=&nbsp; </code></td>
185 * <td valign="top"><code>char | (char '-' char) | pattern-expr<br>
186 * </code></td>
189 * <td nowrap valign="top" align="right"><code>pattern-expr :=&nbsp; </code></td>
190 * <td valign="top"><code>pattern | pattern-expr pattern |
192 * </code></td>
195 * <td nowrap valign="top" align="right"><code>op :=&nbsp; </code></td>
196 * <td valign="top"><code>'&amp;' | '-'<br>
197 * </code></td>
200 * <td nowrap valign="top" align="right"><code>special :=&nbsp; </code></td>
201 * <td valign="top"><code>'[' | ']' | '-'<br>
202 * </code></td>
205 * <td nowrap valign="top" align="right"><code>char :=&nbsp; </code></td>
206 * <td valign="top"><em>any character that is not</em><code> special<br>
207 * | ('\' </code><em>any character</em><code>)<br>
209 * </code></td>
212 * <td nowrap valign="top" align="right"><code>hex :=&nbsp; </code></td>
214 * </em><code>Character.digit(c, 16)</code><em>
218 * <td nowrap valign="top" align="right"><code>property :=&nbsp; </code></td>
227 * <td nowrap valign="top"><code>a := b</code></td>
229 * <td valign="top"><code>a</code> may be replaced by <code>b</code> </td>
232 * <td nowrap valign="top"><code>a?</code></td>
234 * <td valign="top">zero or one instance of <code>a</code><br>
238 * <td nowrap valign="top"><code>a*</code></td>
240 * <td valign="top">one or more instances of <code>a</code><br>
244 * <td nowrap valign="top"><code>a | b</code></td>
246 * <td valign="top">either <code>a</code> or <code>b</code><br>
250 * <td nowrap valign="top"><code>'a'</code></td>
264 * and the error code as the last parameter (ICU convention) would prevent
359 * Constructs a set containing the given range. If <code>end >
360 * start</code> then an empty set is created.
372 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
387 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
406 * @param status input-output error code
465 * Returns the hash code value for this set.
467 * @return the hash code value for this set.
557 * Make this object represent the range <code>start - end</code>.
558 * If <code>end > start</code> then this object is set to an
582 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
601 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
638 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
666 * Modifies this set to contain those code points which have the given value
681 * @param ec error code input/output parameter
692 * Modifies this set to contain those code points which have the
714 * @param ec error code input/output parameter
852 * Unpaired surrogates are treated according to contains() of their surrogate code points.
871 * Unpaired surrogates are treated according to contains() of their surrogate code points.
981 * the set is ordered by ascending code point. If the character
983 * <code>charAt()</code>.
991 * the set is ordered by ascending code point. If the index is
993 * <code>indexOf()</code>.
1003 * the call leaves this set unchanged. If <code>end > start</code>
1040 * @return a code point IF the string consists of a single one.
1111 * specified range. If <code>end > start</code> then an empty range is
1135 * returns. If <code>end > start</code> then an empty range is
1170 * <code>complement(MIN_VALUE, MAX_VALUE)</code>.
1179 * added if it is not in this set. If <code>end > start</code>
1358 * code points, then m supplementary code points. Either n or m
1368 * After the header the code points are stored in ascending order.
1369 * Supplementary code points are stored as most significant 16
1375 * @param ec error code. Will be set to U_INDEX_OUTOFBOUNDS_ERROR
1549 * A filter that returns TRUE if the given code point should be
1555 * Given a filter, set this UnicodeSet to the code points
1558 * code point, then it must return v for all affiliated code