20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 /*
27 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
28 * (C) Copyright IBM Corp. 1996 - 2002 - All Rights Reserved
29 *
30 * The original version of this source code and documentation
31 * is copyrighted and owned by Taligent, Inc., a wholly-owned
32 * subsidiary of IBM. These materials are provided under terms
33 * of a License Agreement between Taligent and Sun. This technology
34 * is protected by multiple US and International patents.
35 *
36 * This notice and attribution to Taligent may not be removed.
37 * Taligent is a registered trademark of Taligent, Inc.
38 */
39
40 package build.tools.generatebreakiteratordata;
41
42 import java.util.Arrays;
43 import java.util.Hashtable;
44
45 /**
46 * An object representing a set of characters. (This is a "set" in the
47 * mathematical sense: an unduplicated list of characters on which set
48 * operations such as union and intersection can be performed.) The
49 * set information is stored in compressed, optimized form: The object
50 * contains an integer array with an even number of characters. Each
51 * pair of characters represents a range of characters contained in the set
52 * (a pair of the same character represents a single character). The
53 * characters are sorted in increasing order.
54 */
55 class CharSet {
56 /**
57 * The structure containing the set information. The characters
58 * in this array are organized into pairs, each pair representing
59 * a range of characters contained in the set
60 */
|
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 /*
27 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
28 * (C) Copyright IBM Corp. 1996 - 2002 - All Rights Reserved
29 *
30 * The original version of this source code and documentation
31 * is copyrighted and owned by Taligent, Inc., a wholly-owned
32 * subsidiary of IBM. These materials are provided under terms
33 * of a License Agreement between Taligent and Sun. This technology
34 * is protected by multiple US and International patents.
35 *
36 * This notice and attribution to Taligent may not be removed.
37 * Taligent is a registered trademark of Taligent, Inc.
38 */
39
40 package org.openjdk.buildtools.generatebreakiteratordata;
41
42 import java.util.Arrays;
43 import java.util.Hashtable;
44
45 /**
46 * An object representing a set of characters. (This is a "set" in the
47 * mathematical sense: an unduplicated list of characters on which set
48 * operations such as union and intersection can be performed.) The
49 * set information is stored in compressed, optimized form: The object
50 * contains an integer array with an even number of characters. Each
51 * pair of characters represents a range of characters contained in the set
52 * (a pair of the same character represents a single character). The
53 * characters are sorted in increasing order.
54 */
55 class CharSet {
56 /**
57 * The structure containing the set information. The characters
58 * in this array are organized into pairs, each pair representing
59 * a range of characters contained in the set
60 */
|